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)
  3. void remove(UdpSocket socket)
    class SocketSelector
    void
    remove

Parameters

socket
Type: UdpSocket

Reference to the socket to remove

Meta