A socket is one endpoint of a two-way communication link between two programs running on the network. A socket is bound to a port number so that the TCP layer can identify the application that data is ...
It simply creates a new socket using the given address family,socket type and protocol number. We binded our server to the specified port. Passing an empty string means that the server can listen to ...