Open Sound Control implementation in Twisted - the Python networking framework.

Together with Alexandre Quessy, whom I met in Bergen during the Piksel09 festival, I have started to work on an implementation of the OSC protocol in Twisted, which is a networking framework written in my favorite programming language, Python.

if __name__ == "__main__":
    receiver = osc.Receiver()
    def gotMsg(msg, addr):
        print "Message from", addr, ":", msg
    receiver.addCallback("/*", gotMsg)

    reactor.listenUDP(17777, receiver.getProtocol())

Still a work in progress, but we're getting there. Check it out.