SocketManager

select-based event loop implementation.

Members

Functions

loop
void loop()

Loop continuously until no sockets are left.

register
void register(GenericSocket conn)

Register a socket with the manager.

size
size_t size()

Returns the number of registered sockets.

unregister
void unregister(GenericSocket conn)

Unregister a socket with the manager.

Meta