aboutsummaryrefslogtreecommitdiff
path: root/network-handler/networkhandler.cpp
AgeCommit message (Collapse)Author
2016-10-12Major network rewrite.Dennis Brentjes
One generic class has been introduced to handle all connection types. Typedefs provide Sender Receiver and SenderReceiver types, which limit the functionality of the types. As to not accidentally communicate with the wrong node about things.
2016-10-10Added a Client so we can start finishing up the setup phase of cMix.Dennis Brentjes
2016-08-30Split NetworkHandler in a server component and a to reuse Server.Dennis Brentjes
Also switched from an inheritance system to composition based system for the server based classes.
2016-08-29Some cleanup for asynchronously reading stdin.Dennis Brentjes
2016-08-29Changes to boost::asio::streambuf for storage of async_receive.Dennis Brentjes
2016-08-29Adds the Acceptor and Client class.Dennis Brentjes
The acceptor combines the endpoint and acceptor to reduce clutter in NetworkHandler class. The client will handle the connection for the network handler for every separate client. The networkhander now has a std::list of Client, to keep track and ownership of all the Clients.
2016-08-26Initial commit, just some ideas and testing.Dennis Brentjes