Commit Graph

169 Commits

Author SHA1 Message Date
chris
ff4d9aa0df Don't delete the waiter until we have finished accessing the dispatcher
implementation, just in case the waiter's handler owns the dispatcher.
2004-03-23 02:29:55 +00:00
chris
2383eb2407 Add back the -ftemplate-depth-32 option for g++, since it seems to be
needed again.
2004-03-22 23:51:11 +00:00
chris
63b2a6b1ae Update build files to add support for boost 1.31.0. 2004-03-22 21:27:26 +00:00
chris
cac7b18cfa MSVC6 requires explicit initialisation with zero. 2004-03-22 08:14:20 +00:00
chris
f80bc25875 Added initial locking_dispatcher implementation. 2004-03-22 07:59:33 +00:00
chris
24e0725efa Added initial locking_dispatcher implementation. 2004-03-22 07:56:59 +00:00
chris
271db66458 Add a demuxer::wrap function that creates a function object to
automatically dispatches a handler through the given demuxer.
2004-03-20 11:23:54 +00:00
chris
811b529743 Removed completion context support. 2004-03-20 06:27:48 +00:00
chris
3ec1b15b05 Removed completion context support. 2004-03-20 03:07:51 +00:00
chris
5c1d5b2e80 Removed completion context support. 2004-03-20 01:01:39 +00:00
chris
8a3d80d22c Added buffering implementation for send operations. 2004-01-17 04:40:20 +00:00
chris
40e376e4b4 Check for error code in asynchronous handler before copying out buffered
data.
2004-01-17 04:22:37 +00:00
chris
ea25d1be81 asio version 0.1.5 released 2004-01-16 07:13:02 +00:00
chris
47d84c012f Allow reuse of the port. 2004-01-13 02:03:38 +00:00
chris
0c098ebb2a Fix errors in doxygen comments. 2004-01-13 01:40:15 +00:00
chris
747a0561d8 Fix make check rule in Borland makefile. 2004-01-13 01:37:55 +00:00
chris
2e7b48532b Add check target to Microsoft and Borland makefiles. 2004-01-13 01:31:53 +00:00
chris
f45029a17c Fix mismatch in parameter name in doxygen comment. 2004-01-13 01:14:23 +00:00
chris
020bfe6728 Add more socket options. 2004-01-13 01:12:57 +00:00
chris
820b087c75 Move tcp-specific option down into the ipv4::tcp protocol class. 2004-01-13 00:26:47 +00:00
chris
d34dbe90d5 Remove the template-depth flag since it no longer seems to be needed. 2004-01-13 00:25:36 +00:00
chris
d76d1f4cc8 Move inet_address_v4 to ipv4::address and add support for specifying the
protocol.
2004-01-12 07:01:21 +00:00
chris
795fd7b714 Leave the protocol unspecified, so that the system will determine it
automatically.
2004-01-12 01:28:04 +00:00
chris
c58ddb2572 Add test for socket acceptors. 2004-01-09 04:36:31 +00:00
chris
91bf6544cf Add ability to get the local address of an acceptor, and both the local
and remote addresses of a stream socket.
2004-01-09 04:31:45 +00:00
chris
6b7b9f77fb Fix formatting in file header comment. 2004-01-09 04:30:17 +00:00
chris
8fdfeb4f0e Specify loopback address in target. 2004-01-09 03:59:13 +00:00
chris
db010d1db8 Prevent accidental infinite recursion by adding scope operator. 2004-01-09 03:58:45 +00:00
chris
f156d9ebdb Fixed typo in MSVC makefile. 2004-01-09 03:45:55 +00:00
chris
fdb8212ec8 Fixed error in doxygen comment. 2004-01-09 03:40:03 +00:00
chris
ff53fc2e83 Added asynchronous send/recv checks to dgram_socket_test. 2004-01-09 03:38:33 +00:00
chris
53600fdbea Added initial implementation of dgram_socket_test. 2004-01-09 03:27:13 +00:00
chris
a55f2ea4b7 A typename qualification is required on value_type. 2004-01-09 00:49:20 +00:00
chris
6233ceba48 Disable Borland warning about loops in inline functions. 2004-01-08 04:07:34 +00:00
chris
6824a99e54 Make all error_handler functions inline. 2004-01-08 03:58:31 +00:00
chris
1b5fc14a6b Add function for getting the locally bound address of a dgram socket. Don't
call error handlers after successful operations.
2004-01-07 06:11:32 +00:00
chris
30ba7a7d5d Create unit test for timer. 2004-01-07 05:14:27 +00:00
chris
cd952893a7 Don't return from a blocking wait until the timer has expired. 2004-01-07 05:14:08 +00:00
chris
33bc0db471 Updated copyright notice 2004-01-07 03:49:33 +00:00
chris
1a9ebd9269 Move the operation timeout tests into examples. 2004-01-07 03:40:44 +00:00
chris
8d4839f4f9 Added copyright notices. 2004-01-06 07:26:27 +00:00
chris
41d1ad5220 The echo tests have been replaced by the programs in src/examples/echo or
by the performance tests.
2004-01-06 07:17:21 +00:00
chris
699c3f9262 Replace dispatcher_test with a new demuxer_test unit test. 2004-01-06 07:11:19 +00:00
chris
e312c4b157 Added copyright notice. 2004-01-06 06:16:11 +00:00
chris
097c1c6e4f Added new unit test header file to distribution. 2004-01-06 06:12:54 +00:00
chris
616430c05f Added some initial unit tests. 2004-01-06 06:06:40 +00:00
chris
e07b0beff4 Updated copyright notices to include 2004. 2004-01-06 03:32:52 +00:00
chris
4faffc6cc3 Added new tests for measuring performance. 2003-12-30 00:47:36 +00:00
chris
26f61cdc72 Change contexts so that they can be passed by value, with all copies being
equivalent to the original (i.e. they represent the same completion
context).
2003-12-30 00:45:27 +00:00
chris
9d57f38680 Ensure contexts get released after the upcall is complete. 2003-12-30 00:43:21 +00:00