A socket is one endpoint of a two-way communication link between two programs running on the network.
A socket is bound to an "IP + port number" so that the TCP layer can identify the application that data is destined to be sent and received.
This component provides usability to send and receive data through the TCP socket connection.