Function wasi::sock_accept
source · [−]Expand description
Accept a new incoming connection.
Note: This is similar to accept
in POSIX.
Parameters
fd
- The listening socket.flags
- The desired values of the file descriptor flags.
Return
New socket connection