[go: up one dir, main page]

Skip to content

ideoforms/python-jdp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Datagram Protocol

JSON Datagram Protocol, a lightweight communication protocol encapsulating JSON objects in individual UDP datagrams.

Usage: Client

import jdp

client = jdp.Client(("localhost", 11000))
client.send({ "hello" : "world" })

Usage: Server

def handler(data):
	print str(data)

server = jdp.Server(11000)
server.add_callback(handler)
server.start()

License

Created by Daniel Jones http://www.erase.net
Available under the terms of the MIT License.

About

JSON Datagram Protocol for Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages