listen
Description:
[ Version ( since = "0.3" ) ]
public abstract void listen (SocketAddress? address = null) throws Error
public abstract void listen (SocketAddress? address = null) throws Error
Prepare the server for listening on the provided socket address.
Once the GLib.MainLoop is started, the server should start accepting incoming connections.
Parameters:
address |
a GLib.SocketAddress or 'null' to listen on the default interface |
Exceptions:
GLib.IOError.NOT_SUPPORTED |
if the server does not support listening on the provided address |