listen_socket


Description:

[ Version ( since = "0.3" ) ]
public abstract void listen_socket (Socket socket) throws Error

Prepare the server for listening on the provided socket.

Once the GLib.MainLoop is started, the server should start accepting incoming connections.

Exceptions:

GLib.IOError.NOT_SUPPORTED

if the server does not support listening on the provided address