boost::corosio::tcp_server::worker_base
Abstract base class for connection handlers.
Synopsis
Declared in <boost/corosio/tcp_server.hpp>
class worker_base;
Description
Derive from this class to implement custom connection handling. Each worker owns a socket and is reused across multiple connections to avoid per‐connection allocation.
Member Functions
Name |
Description |
|
Destroy the worker. |
|
Handle an accepted connection. |
|
Return the socket used for connections. |
See Also
tcp_server, launcher
Created with MrDocs