Mercurial > irccd
view INSTALL.md @ 670:95ac3ace1610
Common: introduce new io code
To avoid code duplication in accept, connect, reading and writing we add a new
set of classes in `io` namespaces located in the following files:
- stream.hpp, acceptor.hpp, connector.hpp
These classes consist of pure abstract interfaces for I/O. Then we reimplement
them in the following files:
- socket_stream.hpp, socket_acceptor.hpp, socket_connector.hpp,
- tls_stream.hpp, tls_acceptor.hpp, tls_conncetor.hpp (for SSL).
This allows future independant connections such as DBus, fifo or any other fancy
optional stuff.
We also no longer need large class hierarchy such as `connection` for irccdctl
controller or transport_server, transport_client classes.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 10 Apr 2018 21:20:30 +0200 |
parents | 4dd28f5416fe |
children | 6bc92086b2a6 |
line wrap: on
line source
IRC Client Daemon INSTALL ========================= This guide will help you to install irccd on your computer. For a better guide with more details see: http://projects.malikania.fr/irccd//build/build-from-sources.html Requirements ------------ - GCC 5.1 or Clang 3.4, - [CMake](http://www.cmake.org). Used to build irccd. Optional: - [OpenSSL](http://openssl.org), Used for SSL connections to IRC servers, recommended, - [Pandoc](http://pandoc.org), Used for documentation process, - [Doxygen](http://www.stack.nl/~dimitri/doxygen), For the documentation about irccd internals. Basic installation ------------------ This is the quick way to install irccd. tar xvzf irccd-x.y.z-tar.xz cd irccd-x.y.z mkdir _build_ cd _build_ cmake .. -DCMAKE_BUILD_TYPE=Release make sudo make install