accept_iostream
Description:
public bool accept_iostream (IOStream stream, SocketAddress? local_addr, SocketAddress? remote_addr) throws Error
Adds a new client stream to the this.
Parameters:
this |
a Server |
stream |
a IOStream |
local_addr |
the local SocketAddress associated with the |
remote_addr |
the remote SocketAddress associated with the |
Returns:
true on success, false if the stream could not be accepted or any other error occurred (in which case throws will be set). |