ocean.net.server.SelectListener

Server socket listener using multiplexed non-blocking socket I/O

Creates a server socket and a pool of connection handlers and registers the server socket for incoming connection in a provided SelectDispatcher instance. When a connection comes in, takes an IConnectionHandler instance from the pool and assigns the incoming connection to the handler's socket.

Usage example: see documented unittest of SelectListener

Members

Classes

ISelectListener
class ISelectListener

SelectListener base class

SelectListener
class SelectListener(T : IConnectionHandler, Args...)

SelectListener class template

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).