No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
I created a packet codec struct that acts as a helper for serializing/deserializing packets into bytes along with adding the packet ID and optionally encrypting the packet data. I also realized that the game server wasn't actually proxying data, but acting as a loopback due to a logic mistake, so I corrected it. I also made the game server generate a match ID and send it to the clients when a channel is being established.
New project! I finished setting up the project (initializing workspaces, crates, and their dependencies). I also created the structs and macros for the networking protocol and created a server binary with an empty Actix Web HTTP server and a custom TCP server I made that establishes a bidirectional connection between every two clients. To top it off, I created a simple client that just exchanges a handshake packet and prints out the other client's protocol version.