Difference between active and passive socket in networking
Answers
Sockets come in two primary flavors. An active socket is connected to a remote active socket via an open data connection... A passive socket is not connected, but rather awaits an incoming connection, which will spawn a new active socket once a connection is established ...
Each port can have a single passive socket binded to it, awaiting incoming connections, and multiple active sockets, each corresponding to an open connection on the port. It's as if the factory worker is waiting for new messages to arrive (he represents the passive socket), and when one message arrives from a new sender, he initiates a correspondence (a connection) with them by delegating someone else (an active socket) to actually read the packet and respond back to the sender if necessary. This permits the factory worker to be free to receive new packets.
Difference between active and passive socket in networking is given below .
Explanation:
- The active socket shall be linked through an open data interface to a remote active socket where as the passive socket is not linked through an open data interface to a remote active socket.
- In the active socket the termination of the connection damages the active sockets to each exit point where as In passive networking the termination of the connection will not damages the active sockets to each exit point .
Learn More :
- brainly.in/question/16738860