A socket is session identifier for a connection between 2 processes via a particular protocol.
List of sockets and their transport protocols: