SocketSelector.remove

Remove a socket from the selector.

This function doesn't destroy the socket, it simply removes the reference that the selector has to it.

  1. void remove(TcpListener socket)
  2. void remove(TcpSocket socket)
    class SocketSelector
    void
    remove
  3. void remove(UdpSocket socket)

Parameters

socket
Type: TcpSocket

Reference to the socket to remove

Meta