TCP over UDP
About the Project
A partial implementation of TCP functionality built on top of UDP, demonstrating core networking concepts like reliable data transfer and packet sequencing.
Features
Data Sequencing
- Message chunking with sequence numbers
- Fixed chunk size implementation
- Total chunks tracking
- Ordered data reconstruction
Reliability
- ACK packet implementation
- 100ms retransmission timeout
- Out-of-order packet handling
- Lost packet recovery
- Non-blocking socket design
Usage
Compile server and client executables:
make
Start server:
./server
Run client:
./client