Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A version of this page is also available for
4/8/2010
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.
In This Section
Creating a Socket Server Application
Creating a Socket Client Application