Marks the socket as a server socket, i.e. a socket that is used to accept incoming requests using Socket.accept.
Before calling this the socket must be bound to a local address using Socket.bind.
To set the maximum amount of outstanding clients, use Socket.setListenBacklog.
TRUE on success, FALSE on error.
GException on failure.
2.22
Marks the socket as a server socket, i.e. a socket that is used to accept incoming requests using Socket.accept.
Before calling this the socket must be bound to a local address using Socket.bind.
To set the maximum amount of outstanding clients, use Socket.setListenBacklog.