Developer
2025
Development, Testing
C, Network Programming
Sanjay Kumar
Developed a command-line chat client in C that communicates with a server over TCP sockets. The client supports real-time message broadcasting, allowing multiple clients to exchange messages through a central server.
Note: Course assignment – full code not public, available upon request.
• Created and managed TCP sockets, handling both connection setup and graceful shutdowns
• Implemented username validation with length limits and server-side handshake
• Sent and received messages via send_with_length and recv_with_length protocols, ensuring null-terminated string handling
• Used fd_set and select() to multiplex input from both stdin and the network socket, enabling simultaneous user input and server message reception
• Robust checks for invalid IPs, ports, and failed system calls, with clear error reporting
• Supported commands like bye to exit gracefully, along with detecting server disconnects or crashes