Server.listenFd

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

See soup_server_listen() for more details.

Note that @server will close @fd when you free it or call soup_server_disconnect().

class Server
bool
listenFd

Parameters

fd int

the file descriptor of a listening socket

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