Networking - What is a socket?

What is a socket?

A socket is used to connect an application to a network protocol. A socket enables communication between a client and a server. The communication is started when the client is assigned a local port number, and binds a socket to it. The client writes on the socket and gets information from server by reading it.

What are Sockets? How do Sockets Work?

A socket is used to connect an application to a network protocol. A socket enables communication between a client and a server. The communication is started when the client is assigned a local port number, and binds a socket to it. The client writes on the socket and gets information from server by reading it. The Socket class is used to communicate. It provides rich set of methods for both asynchronous and synchronous data transfer. ConnectAsynch is used to start an asynchronous connection. SendAsynch and ReceiveAsynch are used to send and receive data. Shutdown and close methods are used to shutdown and close the sockets.
Networking - Datagram vs. stream
Datagram vs. stream - Stream can be considered as a pipe that allows full duplex connection. A datagram or a packet on the other hand, has a source and a destination.........
Networking - What is a stream socket?
What is a stream socket? - A stream socket provides two way communications between a client and server. This communication is reliable and sequenced.........
Networking - What is SSL?
What is SSL? - SSL is Secured Socket Layer. SSL is used to establish a secured and an encrypted connection between a server and the browser.........
Post your comment