accepted or any other error occurred (in which case error will be set).
Server.acceptIostream
bool acceptIostream(gio.iostream.IOStream stream, gio.socket_address.SocketAddress localAddr = null, gio.socket_address.SocketAddress remoteAddr = null)Adds a new client stream to the server.
Parameters
stream | a #GIOStream |
localAddr | the local #GSocketAddress associated with the stream |
remoteAddr | the remote #GSocketAddress associated with the stream |
Returns
true on success, false if the stream could not be
Throws
[ErrorWrap]