listen_socket


Description:

[ Version ( since = "2.48" ) ]
public bool listen_socket (Socket socket, ServerListenOptions options) throws Error

This attempts to set up this to listen for connections on socket.

See 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 error will be set).