listen_socket


Description:

public bool listen_socket (Socket socket, ServerListenOptions options) throws Error

Attempts to set up this to listen for connections on socket.

See [method@Server.listen] for more details.

Parameters:

this

a Server

socket

a listening Socket

options

listening options for this server

Returns:

true on success, false if an error occurred (in which case throws will be set).