Source repository at https://github.com/lcdr/pyraknet/
License: AGPL v3
This is not aimed to be a complete port of RakNet, just everything that's needed to run a server.
ReliableSequenced sending / receiving
(BitStream) Compressed floats/doubles
- Python 3.6
pip install git+https://github.com/lcdr/pyraknet should handle the installation automatically. If you run into problems you might have to execute pip as admin, or if you have multiple Python versions installed explicitly use the pip of the compatible Python version.
Run python -m pyraknet or execute __main__.py to start a sample server that will send packets manually, from ./packets/
To send something, place your packets in ./packets/ and enter the subfolder name in the command line.
The server logs incoming and outgoing packets in ./logs/, if you get errors you might have to create the directory (and possibly subdirectories).