removeSocket(_:)

Closes a socket.

Declaration

func removeSocket(
    _ id: Int32
)

Parameters

  • id: The WASI socket file number.