TCP/IP Question:
Download Questions PDF

What is sockets?

Answer:

A socket is an abstraction that represents an endpoint of communication. Most applications that consciously use TCP and UDP do so by creating a socket of the appropriate type and then performing a series of operations on that socket. The operations that can be performed on a socket include control operations (such as associating a port number with the socket, initiating or accepting a connection on the socket, or destroying the socket) data transfer operations (such as writing data through the socket to some other application, or reading data from some other application through the socket) and status operations (such as finding the IP address associated with the socket).

Download TCP/IP Protocol Interview Questions And Answers PDF

Previous QuestionNext Question
Explain How does TCP try to avoid network meltdown?What is the port number of Telnet and DNS?