UDP for Humans
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
MANIFEST.in
README.md
packets.py
setup.py
test.py

README.md

Install

pip install packets

Use for clients

    import packets

    client = packets.User()
    client.sendto((server.host, server.port), 'Hi!')
    print client.next.body

Use for servers

    import packets

    server = packets.User()
    packet = server.next
    if packet.body == 'ping':
        packet.reply('pong')

Documentation

To be written

Meanwhile take a look at the source code.

Bugs & Co.

If you find bugs or new features that are not implemented you can: