G.B.
Developer · Jan 2026 – Apr 2026

TelemetryDownloader

A C++ TCP file-transfer system with a custom 7-type binary packet protocol, a Stop-and-Wait ACK mechanism, and a byte-exact verified 1MB transfer, 32 passing tests.

C++WinsockCatch2State Machine
32 / 134+Passing tests / assertions
1MB byte-exactVerified transfer
telemetry-server --port 8080
TelemetryDownloader transfer session
01

The Problem

Reliable file transfer over raw TCP sockets means designing everything HTTP gives you for free: a packet protocol, acknowledgement semantics, connection lifecycle, and defenses against malformed input.

02

What I Built

A Winsock client-server pair with a custom 7-type binary protocol (HELLO, VERIFY, GET_STATUS, DATA, ACK, ERROR), Stop-and-Wait ACKs for reliable delivery, and a 5-state server lifecycle state machine with malformed-packet rejection, out-of-order command blocking, and RAII cleanup.

03

The Result

32 passing tests and 134+ assertions across three tiers, Catch2 unit tests on serialization round-trips, socket-lifecycle integration tests, and a byte-exact end-to-end test verifying 1MB transfer integrity.

Next projectStudent Dropout Risk AnalysisData Analysis & Institutional Recommendations