Commit Graph

616 Commits

Author SHA1 Message Date
Peter Thorson
78b52be803 removes force casting from int to bool 2013-02-17 07:13:09 -06:00
Peter Thorson
e4f6aafb04 fixes some more visual studio warnings 2013-02-16 12:48:07 -06:00
Peter Thorson
9e19765bdf Fixes MSVC++ C4800 error (converting char to bool) 2013-02-16 12:41:07 -06:00
Peter Thorson
5c01b272fe changes generic to general because generic is a reserved word in visual studio 2013-02-16 12:31:32 -06:00
Peter Thorson
e0abafbd71 moves stdint header to common includes 2013-02-08 08:48:39 -06:00
Peter Thorson
f529ff2fbc updates connection test build dependency 2013-02-08 08:43:55 -06:00
Peter Thorson
ddfc0566f5 adds timer support 2013-02-02 13:10:06 -06:00
Peter Thorson
faaa8eb03e initial work on timer support 2013-02-02 10:54:30 -06:00
Peter Thorson
7d76532165 adds some documentation examples 2013-02-02 10:54:30 -06:00
Peter Thorson
6861398648 adds lowercase synonyms for some constants 2013-02-02 10:54:30 -06:00
Peter Thorson
3a92ff981a Merge pull request #183 from eandre/experimental
Added missing 'inline' directives
2013-02-01 15:43:45 -08:00
Peter Thorson
780847bf43 cleans up handle_accept error paths 2013-02-01 09:11:43 -06:00
Peter Thorson
99bc0abffc updates write_flag code to be robust and exception/thread safe 2013-02-01 08:59:57 -06:00
Peter Thorson
8d050767e1 fixes warning 2013-02-01 08:59:35 -06:00
Peter Thorson
45813db04d simplifies sending close frames 2013-02-01 07:55:42 -06:00
Peter Thorson
5ea7ee328e adds state check to connection::close 2013-02-01 07:50:13 -06:00
Peter Thorson
662b4333aa updates close adaptor to proper connection interface 2013-02-01 07:50:03 -06:00
Peter Thorson
d0cbb07d5c adds documentation and adaptors for connection::close 2013-02-01 07:41:04 -06:00
Peter Thorson
b999051959 adds raw array based send adaptors to endpoint 2013-02-01 07:26:20 -06:00
Peter Thorson
7ffbe8bfd8 moves bad_connection error handling into get_con_from_hdl 2013-02-01 07:25:44 -06:00
Peter Thorson
30134f8545 moves adaptor functions into endpoint_impl 2013-02-01 07:19:11 -06:00
Peter Thorson
30412282ee Updates constructor field order 2013-02-01 07:18:06 -06:00
Peter Thorson
aa9644f2a8 fixes typo 2013-02-01 07:13:09 -06:00
Peter Thorson
1bfe86d795 Adds raw array send method to connection 2013-02-01 07:09:02 -06:00
Peter Thorson
5b9afc0309 updates message buffer's set and append payload methods to allow both std::string and raw array input 2013-02-01 07:02:38 -06:00
Peter Thorson
4063440895 temporary logging test changes 2013-01-31 20:30:02 -06:00
Peter Thorson
c88cdaf2f4 updates buffer size to a more efficient default 2013-01-31 20:29:08 -06:00
Peter Thorson
6925a68f95 temporary fix for outgoing frame corruption issue #references 179 2013-01-31 08:41:37 -06:00
Peter Thorson
4928f84feb removes un-thread-safe access to cout 2013-01-31 08:40:46 -06:00
Peter Thorson
b4903dad0b adds an application level logging level 2013-01-31 08:40:16 -06:00
Peter Thorson
7fe9eb592f refines endpoint logging interface 2013-01-31 08:39:57 -06:00
Peter Thorson
080fd42a0b updates readme 2013-01-27 10:39:55 -06:00
Peter Thorson
1979502a05 adds default logging settings to echo_server and catches more setup exceptions 2013-01-27 10:37:47 -06:00
Peter Thorson
fa85811c07 adds some logger tests 2013-01-27 10:37:14 -06:00
Peter Thorson
c83f8f485a adds pass through logging adaptor to endpoint 2013-01-27 10:36:19 -06:00
Peter Thorson
0bb60df7fc adds a typedef for logging levels 2013-01-27 10:35:57 -06:00
Peter Thorson
375108aabf Switches cout based logging to logging policy 2013-01-27 08:20:08 -06:00
Peter Thorson
37b6b5fb3c updates tests for logger 2013-01-27 08:19:32 -06:00
Peter Thorson
389e5925d7 splits asio/asio_no_tls up a bit better, adds logging information to configs 2013-01-27 08:19:19 -06:00
Peter Thorson
a5d3555f96 whitespace 2013-01-27 08:18:10 -06:00
Andre Eriksson
d6edaac02b Added missing 'inline' directives 2013-01-26 09:12:38 +01:00
Peter Thorson
6ab39622e5 adds basic logger class, with tests, and updates configs to include it 2013-01-20 20:24:26 -06:00
Peter Thorson
278909aad6 adds common chrono header 2013-01-20 20:23:47 -06:00
Peter Thorson
295c51c2c5 updates copyright year 2013-01-20 20:23:37 -06:00
Peter Thorson
9b142e3edc adds common/thread header and updates concurrency policies to use it 2013-01-20 20:23:22 -06:00
Peter Thorson
18fef37837 additional work on the broadcast server example 2013-01-20 14:31:54 -06:00
Peter Thorson
44e47267e9 initial work on broadcast_server example 2013-01-20 11:05:30 -06:00
Peter Thorson
290b719048 inlines appropriate functions to work when included in multiple translation units. fixes #178 2013-01-20 09:02:17 -06:00
Peter Thorson
7b2ed75e46 moves network related utility functions into network header 2013-01-20 08:57:51 -06:00
Peter Thorson
c76771b323 splits connection test into two translation units 2013-01-20 08:56:38 -06:00