Commit Graph

24 Commits

Author SHA1 Message Date
36f0aca693 made byte(message) helper method constexpr so it is compile time 2016-12-03 14:22:49 +01:00
faaea542ce added new source files to CMakeLists.txt and a test config 2016-12-03 13:52:27 +01:00
096d56d488 now client_network_manager::receive() actually works 2016-12-03 13:51:33 +01:00
9c8f985210 added function byte(message) for more readable message->byte conversion 2016-12-03 13:50:09 +01:00
9c9118c34d added teszt.cpp to .gitignore -> use this for testing 2016-12-03 13:23:25 +01:00
b42aa09286 reformatted source code 2016-12-03 13:22:51 +01:00
75f77766c1 moved everything to namespace chat to avoid namespace pollution 2016-12-03 13:13:06 +01:00
07284e5dc7 made client_network_manager mostly working. it can handle a handshake 2016-12-03 13:02:37 +01:00
f8c57c8e24 fixed chat_message: now enum class message has underlying type of char 2016-12-03 11:51:27 +01:00
28f1fe7655 added missing const qualifier 2016-11-29 19:14:06 +01:00
271faf4b0c added default empty content to chat_message ctor 2016-11-29 18:46:09 +01:00
8cddc402f1 added a send() method to the network manager and removed a ctor parameter 2016-11-29 18:42:38 +01:00
60bb1e6142 started working on the networking part of the chat client 2016-11-29 18:24:33 +01:00
c6750bbb54 added chat_message.hpp to represent messages 2016-11-29 17:55:00 +01:00
be89be49da added cmake-build-debug to .gitignore 2016-11-29 17:53:17 +01:00
deb50433de started work on the interface of chat_messages 2016-11-26 13:46:14 +01:00
4215343175 bugfix: messages would only be received till the first whitespace 2016-11-20 11:14:20 +01:00
41f81518c2 reworked message's receive interface 2016-11-20 00:18:14 +01:00
5d124db96e simplified protocol and implemented text_message::receive() 2016-11-19 23:52:43 +01:00
15e6e869be made interface of message and derived classes more reasonable 2016-11-19 18:03:56 +01:00
6cb3cb0c79 written a quick, unfinished implementation of message 2016-11-19 17:25:39 +01:00
80cc602317 added message class for message based communication over sockets 2016-11-19 17:25:15 +01:00
c81126ad91 written an example server -- started experimenting with boost::asio 2016-11-18 16:11:17 +01:00
55406b5bae initial commit. written a CMakeLists.txt to import boost::asio & serialization 2016-11-17 20:48:22 +01:00