Server.listenSocket

This attempts to set up @server to listen for connections on @socket.

See soup_server_listen() for more details.

class Server
bool
listenSocket

Parameters

socket GIOSocket

a listening #GSocket

options SoupServerListenOptions

listening options for this server

Return Value

Type: bool

%TRUE on success, %FALSE if an error occurred (in which case @error will be set).

Throws

GException on failure.

Meta

Since

2.48