package cpp.net

..
Poll

A wrapper around native socket polling functionality for monitoring multiple sockets for I/O readiness. This class provides a high-level abstraction over native poll operations, allowing you to monitor sockets for read and write events.

ThreadServer

The ThreadServer can be used to easily create a multithreaded server where each thread polls multiple connections. To use it, at a minimum you must override or rebind clientConnected, readClientMessage, and clientMessage and you must define your Client and Message.