Skip to content

gregorschatz/packets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

UDP for Humans

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%