A simple UDP-based client-server communication system implemented in C. This project demonstrates basic UDP socket programming and network communication.
- UDP server implementation
- UDP client implementation
- Simple message exchange protocol
- Basic error handling
To build both the server and client:
makeThis will create two executables:
server: The UDP server programclient: The UDP client program
- Start the server:
./server [port]- In a separate terminal, start the client:
./client [server_ip] [port]To clean up build artifacts:
make cleanThe implementation includes:
- Socket creation and configuration
- UDP datagram handling
- Basic message exchange
- Port and IP address handling