Skip to content

Opening book details…

About this document

TCP and UDP Socket Programming in C by Rahul Anand is a document available to read on EtoBox.

The document describes a C program to implement a chat application using TCP/IP sockets. The chat server creates a TCP socket, binds an address and port, listens for connections from clients and sends/receives messages. The chat client connects to the server, sends/receives messages, and closes the socket. The algorithms show the server accepting connections in a loop and both client and server sending/receiving messages in a loop until termination.

Author
Rahul Anand
Language
EN