irccd  3.0.3
Modules
networking

Networking support. More...

Modules

 streams
 Generic I/O streams.
 
 acceptors
 Generic I/O acceptors.
 
 connectors
 Generic I/O connectors.
 

Detailed Description

Networking support.

Each irccd instance is controllable via sockets using JSON messages.

This mechanism is offered via the triplet stream/acceptor/connector. Irccd uses different acceptors to wait for clients to connect and then construct a stream of it. Once ready, streams are ready to receive and send messages.

On the client side (e.g. irccdctl), a generic connector is created to connect to the irccd instance. Once ready, a stream is also created and ready to perform the same receive and send messages.

By default, irccd provides predefined implementations for TCP/IP, local unix sockets and optionally TLS over those.