chr15m / PodSixNet

Lightweight multiplayer network library for python games
https://pypi.python.org/pypi/PodSixNet
GNU Lesser General Public License v3.0
167 stars 32 forks source link

Required callbacks? #33

Open Amerikranian opened 5 years ago

Amerikranian commented 5 years ago

I have used a packet sniffer and to my shock, the packets are perfectly unprotected and are out there just waiting to be misused. Can you please add an ability to have a callback for both incoming and outgoing data for encryption purposes?

chr15m commented 5 years ago

Sure, will merge a PR implementing this.

chr15m commented 5 years ago

By which I mean, if you write it I will merge it.

JessicaTegner commented 4 years ago

Hi Isn't this already a thing with the server.Network(data) and client.Network(data) functions. Wouldn't you be able to use them to encrypt / decrypt the packets.