accept_iostream


Description:

[ Version ( since = "2.50" ) ]
public bool accept_iostream (IOStream stream, SocketAddress? local_addr, SocketAddress? remote_addr) throws Error

Add a new client stream to the this.

Parameters:

this

a Server

stream

a IOStream

local_addr

the local SocketAddress associated with the stream

remote_addr

the remote SocketAddress associated with the stream

Returns:

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




2022 vala-language.org