Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

accept

fuzion.sys.net.accept

§accept(sd i64, arr_result Any)
 => 
bool
:
Any 

accept a new connection for given socket descriptor.
may block until there is a connection to accept.
returns a new / different descriptor which
corresponds to the accepted connection only.

true => arr_result[0] is the socket descriptor
false => arr_result[0] is an error number