Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 847 Bytes

README.md

File metadata and controls

37 lines (21 loc) · 847 Bytes

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: