Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
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.