getSocket(_:)¶
Returns the SocketInfo for a given WASI socket file number.
Declaration
func getSocket(
_ id: Int32
) -> SocketInfo?
Parameters
id: The WASI socket file number.
getSocket(_:)¶Returns the SocketInfo for a given WASI socket file number.
Declaration
func getSocket(
_ id: Int32
) -> SocketInfo?
Parameters
id: The WASI socket file number.