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

set_blocking0

fuzion.sys.net.set_blocking0

§set_blocking0(sd i64, blocking i32)
 => 
i32
:
Any 

0 = blocking, 1 = none_blocking

returns zero on success, anything else is an error.

NYI non blocking needs some kind of polling mechanism like epoll / kqueue
probably not good enough:
- select "can monitor only file descriptors numbers

- poll is in O(n)
difficult to implement on windows, read here: https://notgull.github.io/device-afd/