Server.listenSocket

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

See soup.server.Server.listen for more details.

Parameters

socket gio.socket.Socket

a listening #GSocket

options soup.types.ServerListenOptions

listening options for this server

Return Value

Type: bool

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