listenSocket

open fun listenSocket(socket: <Error class: unknown class>, options: ServerListenOptions): <Error class: unknown class><Boolean>

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

See method@Server.listen for more details.

Return

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

Parameters

socket

a listening #GSocket

options

listening options for this server