finds.dev← search

// the find

branxz07/Docker-TCP-UDP-servers-in-C

★ 2 · C · updated Sep 2024

TCP and UDP servers running in Docker, required for a multiplayer FPS game developed with Unity.

A student project implementing raw TCP and UDP game servers in C for a Unity multiplayer FPS, containerized with Docker. TCP handles auth and game state, UDP handles movement. Two stars, one contributor active, last touched September 2024 — this is a school assignment, not a production library.

Correct protocol split: TCP for reliable state, UDP for position updates is the right architecture for a game server. Raw socket C gives you actual visibility into what's happening at the wire level, which is valuable for learning. Docker packaging means you can spin it up without fighting a local toolchain.

The compiled binary is checked into the repo alongside the source, which is a red flag — you don't know what's in that binary. The Docker setup instructions are commented out in the README, so the actual build steps are undocumented. No mention of any concurrency model: the TCP server almost certainly blocks per connection with no thread pool or select loop, which means it falls over with more than a handful of players. Zero tests, zero error handling docs, and 'respaldo' (backup) copies of both servers duplicated in the tree suggest this was developed by copy-pasting rather than using version control properly.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →