Stream Socket Application
Use sockets to echo data from a client to a server and back. A socket server application listens on the network for incoming client packets. A socket client application initiates communication with the server by sending a packet. When the server receives the packet, it responds by echoing the data. After this initial sequenced message exchange, the client and the server can exchange data.