Commit Graph

623 Commits

Author SHA1 Message Date
chris_kohlhoff
adad69c344 Remove allocator template parameters. 2006-04-10 12:17:44 +00:00
chris_kohlhoff
f38b276381 Work around Borland compiler bug. 2006-04-09 21:22:41 +00:00
chris_kohlhoff
b650522ae4 Use function overloading instead of class template specialisation for
per-handler custom allocation.
2006-04-08 23:29:42 +00:00
chris_kohlhoff
c6fd7a1ea7 Remove address constructors that take a string, and replace with
from_string functions for explicit conversion.
2006-04-08 12:22:54 +00:00
chris_kohlhoff
d61e5ca3fa Change position of message flags parameter on send_to and receive_from so
that it can be "defaulted" to 0.
2006-04-07 04:49:20 +00:00
chris_kohlhoff
c38fe1df4c Add QNX to list of supported platforms. 2006-04-05 13:32:42 +00:00
chris_kohlhoff
f46b541999 Add support for QNX. 2006-04-05 12:46:52 +00:00
chris_kohlhoff
6cf4904d64 Clear the list before resetting the buckets' iterator values to work around
an STLPort checked iterator warning.
2006-04-04 21:57:40 +00:00
chris_kohlhoff
bc5a3cf59e Remove incorrect buffer() overloads for std::vector<const Pod_Type>. 2006-03-29 13:00:56 +00:00
chris_kohlhoff
ebf39d977c Don't globally block SIGPIPE if an alternative is available. On Linux, the
MSG_NOSIGNAL flag is now passed to the sendmsg function. On Mac OS X, the
SOL_SOCKET/SO_NOSIGPIPE socket option is set on all sockets.
2006-03-22 05:46:41 +00:00
chris_kohlhoff
358c2d0c14 Use sendmsg and readmsg for all socket send and receive operations on
non-Windows platforms.
2006-03-22 05:00:03 +00:00
chris_kohlhoff
b723883877 Add missing return keyword. 2006-03-06 00:59:40 +00:00
chris_kohlhoff
9be2b3bc77 Need to add 1 to the maximum descriptor value passed to select(). Somehow
this was lost when a previous change was reverted.
2006-03-02 01:11:05 +00:00
chris_kohlhoff
4cc40e047e The task_cleanup nested class needs to be a friend of handler_base. 2006-02-26 23:44:09 +00:00
chris_kohlhoff
03b978c7f9 Don't use classes nested in function definitions since they cause problems
for the VC7.1 linker.
2006-02-26 22:27:51 +00:00
chris_kohlhoff
2fab66c440 Try converting string to IPv6 address first to get a better error message
if it's an invalid string and IPv6 is not supported on the system.
2006-02-26 21:11:06 +00:00
chris_kohlhoff
557f20eb21 Add support for mixed IPv4/IPv6 sockets. 2006-02-24 12:29:47 +00:00
chris_kohlhoff
60085ec056 Include scope_id in comparison operators. 2006-02-24 06:25:31 +00:00
chris_kohlhoff
c924f604df Factor out endpoint classes into a single template. 2006-02-24 05:52:05 +00:00
chris_kohlhoff
61c90ec4c4 Fix up #includes and doxygen comments. 2006-02-24 05:50:27 +00:00
chris_kohlhoff
d8fa9461c4 Add IPv6 multicast support. Change IPv4 to use IPv6-style names for the
multicast socket options.
2006-02-24 05:22:00 +00:00
chris_kohlhoff
07c101c8e8 Factor out endpoint classes into a single template. 2006-02-23 12:59:23 +00:00
chris_kohlhoff
255fd73a86 Add scope_id support. 2006-02-23 12:31:08 +00:00
chris_kohlhoff
5d678037e1 Fix spurious cancellation of asynchronous operations. 2006-02-20 03:51:27 +00:00
chris_kohlhoff
f0e4fcea41 Add initial support for IPv6. 2006-02-08 11:22:58 +00:00
chris_kohlhoff
068d28d85e Compiling a mixed assembly with MSVC 8 requires the unspecified_bool_type_t
structure to be defined.
2006-02-05 20:29:16 +00:00
chris_kohlhoff
2b7fb021df Update copyright strings to include 2006. 2006-02-02 07:02:59 +00:00
chris_kohlhoff
4fc4a04133 Add allocator type to template parameters for std::vector buffer()
overloads.
2006-01-28 12:17:40 +00:00
chris_kohlhoff
3cef30a292 Update basic_deadline_timer to inherit from basic_io_object. The expires_at
and expires_from_now setters now cancel pending asynchronous operations.
2006-01-28 10:26:51 +00:00
chris_kohlhoff
d8717adb2f Rename host_resolver operations. 2006-01-27 12:48:27 +00:00
chris_kohlhoff
a637d2ac39 Fix Win32 build. 2006-01-26 12:48:10 +00:00
chris_kohlhoff
80a927469d Update to use io_service instead of demuxer. Fix to compile with vc 7.1. 2006-01-26 12:43:10 +00:00
chris_kohlhoff
85cc7ab652 Rename reactive socket impl_type to implementation_type and make it
noncopyable.
2006-01-26 11:17:08 +00:00
chris_kohlhoff
6da0fbfbca Reorganise socket templates into a hierarchy. 2006-01-26 04:31:25 +00:00
chris_kohlhoff
00acdadebd Fix potential deadlock when a handler's destructor makes a call back into
the reactor.
2006-01-25 06:48:37 +00:00
chris_kohlhoff
ab54b864ea Eliminate dynamic memory allocation per deadline_timer object. 2006-01-16 11:52:37 +00:00
chris_kohlhoff
a18bdd4790 Remove swap() functions to prevent imposing dynamic memory allocations on
socket implementation.
2006-01-16 06:36:56 +00:00
chris_kohlhoff
961395f60c Update to support new protocol-specific socket types. 2006-01-13 12:45:26 +00:00
chris_kohlhoff
efb4d691b9 Use protocol-specific socket and acceptor types. The stream_socket,
datagram_socket and socket_acceptor typedefs have been removed.
2006-01-13 11:56:05 +00:00
chris_kohlhoff
12fdd7b4c5 Rename demuxer to io_service. 2006-01-09 12:11:26 +00:00
chris_kohlhoff
8c12064aee Add new header files. 2006-01-04 04:48:36 +00:00
chris_kohlhoff
9020b4cd37 Add support for non-threaded configurations. 2006-01-04 03:47:33 +00:00
chris_kohlhoff
c2eda002a4 Only set non-blocking mode on a socket if the user starts an asynchronous
operation.
2006-01-04 03:41:30 +00:00
chris_kohlhoff
9a2dc330a7 Only run demultiplexing system call once each time run() is called. 2006-01-04 03:38:17 +00:00
chris_kohlhoff
ebe2432d19 Fix compile error. 2005-12-28 12:59:39 +00:00
chris_kohlhoff
1a1c5d2fec Use non-blocking I/O by default. 2005-12-28 12:39:17 +00:00
chris_kohlhoff
004b284e4f Fix copy/paste documentation error. 2005-12-28 02:17:30 +00:00
chris_kohlhoff
8e585cebff Optimise reactor-based implementation. 2005-12-27 20:42:43 +00:00
chris_kohlhoff
08259ea402 Add custom allocation support. 2005-12-27 04:54:09 +00:00
chris_kohlhoff
011d4f8e9c Add custom allocation support on Windows. 2005-12-27 03:52:40 +00:00