InterviewSolution
| 1. |
What Is A Socket? |
|
Answer» 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. 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. |
|