-
Recent Posts
Archives
Categories
RSS Links
Category Archives: network programming
Packet encryption in multiplayer games – part 2
The following is continuation of my recent Packet encryption in multiplayer games – part 1 article. In this article I’m going to present sample implementation of the encryption helper that might be used to establish connection using Diffie-Helman algorithm and … Continue reading
Posted in network programming
Leave a comment
Packet encryption in multiplayer games – part 1
Sending unencrypted data between peers in multiplayer game can make your game vulnerable to many kinds of hacker attacks. However, as surprising as it may sound not all multiplayer games require data encryption to stay secure. In some cases only … Continue reading
Posted in network programming
Leave a comment
Non-blocking packet-oriented sending and receiving data via TCP
Let’s get straight into the topic, here’s our goal for today: Want to be able to send (and receive) whole data packets without blocking and without having separate “send thread” (or “receive thread”) using TCP. Similar to UDP in that … Continue reading