Jump to content

Client socket

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Beeswaxcandle (talk | contribs) at 08:12, 28 October 2008 (Tagged as over technical). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer science, a client socket is a tool for establishing networked computer communication between a server and client initiated by the client. A client socket forms one endpoint in a client–server socket relationship.

Following inception, a client socket assists in handling lower-level network functions by forming and sending a request to a waiting server, which then processes the received data. Depending, the client socket may also listen for and receive a reply from the server—usually pertaining to the data the server received immediately prior. Both client and server sockets are required in a functional socket-based connection. Unlike their server socket counterparts, client sockets are typically destroyed after the data transfer, preventing further actions on it; hence, client sockets are often used for single data exchanges and more suited for such than server sockets are. [1].

See also

References

  1. ^ Kuchling, Andrew. http://www.amk.ca/python/howto/sockets/ Socket Programming HOWTO. Retrieved on 2008-09-29