This function is meant to ease the task of creating a new socket which only listens to accept new connections.
This function is meant to ease the task of creating a new socket which only listens to accept new connections.