Server now properly splits the packet payload into multiple fragments if needed.
Server settings now properly get defaults.
Added the basis for compression support, though it doesn't do anything right now.
Removed unused NEX type structs.
And finally, fixed all godoc and other linting issues.
Added the PRUDPLib here. Tweaked the files already here to reflect this. The original go PRUDPLib repo is now considered "deprecated".
PRUDPLib has some changes too!
+ Added the ability to toggle the debug output. Request from RedDucks(s).
* Changed variable names to better reflect Go standards.
* Changed some function names to better reflect Go standards.
NewPacket() now returns a new instance of General.Packet; no need to create it yourself via := General.Packet{}
FromBytes() is what used to be NewPacket()
Bytes() is what used to be BuildPacket()
There may be other stuff too that I forgot lol
Server now tracks Clients in a map using the clients IP:PORT as the key. Server now has `Send` function for sending responses to clients. Server now has `Kick` function for removing Client connections. Cleaned up some Client properties.