Server.acceptIostream

Adds a new client stream to the server.

Parameters

stream gio.iostream.IOStream

a #GIOStream

localAddr gio.socket_address.SocketAddress

the local #GSocketAddress associated with the stream

remoteAddr gio.socket_address.SocketAddress

the remote #GSocketAddress associated with the stream

Return Value

Type: bool

true on success, false if the stream could not be accepted or any other error occurred (in which case error will be set).