JSON Datagram Protocol, a lightweight communication protocol encapsulating JSON objects in individual UDP datagrams.
import jdp
client = jdp.Client(("localhost", 11000))
client.send({ "hello" : "world" })
def handler(data):
print str(data)
server = jdp.Server(11000)
server.add_callback(handler)
server.start()
Created by Daniel Jones http://www.erase.net
Available under the terms of the MIT License.