addSocket(fd:domain:type:)¶
Opens a socket.
Declaration
func addSocket(
fd: Int32,
domain: Int32,
type: Int32
) -> Int32
Parameters
fd: The host’s socket file number.
domain: The socket’s domain.
type: The socket’s type.
Returns
The WASI socket file number.