Configure this to accept connections on the given service.
service should be a string containing the service name (see services(5)) or a string containing a port number between 1 and
service is set to "0", the server will listen on a random free port. The actual used port can be retrieved with
This function must be called before the server is bound.