Default constructor.
Destructor.
Add a new TcpListener to the selector.
Add a new TcpSocket to the selector.
Add a new UdpSocket to the selector.
Remove all the sockets stored in the selector.
Test a socket to know if it is ready to receive data.
Remove a socket from the selector.
Remove a socket from the selector.
Remove a socket from the selector.
Wait until one or more sockets are ready to receive.
Multiplexer that allows to read from multiple sockets.