Commit Graph

623 Commits

Author SHA1 Message Date
chris_kohlhoff
97bcbbf37b Add missing derivation from boost::noncopyable. 2005-09-25 12:22:23 +00:00
chris_kohlhoff
9504138760 Fix up buffers documentation. 2005-09-24 14:34:06 +00:00
chris_kohlhoff
4747a9e682 Fix handling of failed connection attempts. 2005-09-24 12:25:36 +00:00
chris_kohlhoff
398c0ffc80 Add new header file. 2005-09-24 11:04:58 +00:00
chris_kohlhoff
39cc217ced Add a kqueue reactor. Thanks to Stefan Arentz for supplying the initial
implementation.
2005-09-24 11:01:50 +00:00
chris_kohlhoff
e6125c0614 More fixes to check if epoll_ctl fails. 2005-09-24 10:57:08 +00:00
chris_kohlhoff
59a9b76224 Fixes for correct handling of out-of-band data. 2005-09-24 01:53:44 +00:00
chris_kohlhoff
f338af1001 Mac OS X and Linux use different forms of strerror_r. 2005-09-24 00:53:48 +00:00
chris_kohlhoff
cb5181e468 Fix up handling of out-of-band data with epoll. 2005-09-24 00:53:11 +00:00
chris_kohlhoff
32b261f262 Ignore generated files. 2005-09-23 12:53:22 +00:00
chris_kohlhoff
0b8860a644 Update to use new reactor error handling. 2005-09-22 13:25:44 +00:00
chris_kohlhoff
959e97d490 Add error handling to epoll_reactor. 2005-09-22 13:00:05 +00:00
chris_kohlhoff
a5031867f9 Revert previous change. 2005-09-21 22:28:17 +00:00
chris_kohlhoff
81372532c1 Have reactor operations return an error code. 2005-09-21 21:49:37 +00:00
chris_kohlhoff
96fcf7a4df Fix to compile on Win32. 2005-09-21 21:48:40 +00:00
chris_kohlhoff
fd21eaf779 Some fixes for Mac OS X. 2005-09-20 14:12:31 +00:00
chris_kohlhoff
9a13820284 Add new unit tests to automake files. 2005-09-19 14:17:28 +00:00
chris_kohlhoff
e44eb482c3 Add unit tests for remaining public header files. 2005-09-18 23:57:37 +00:00
chris_kohlhoff
1134f50ea4 Convert to use the Boost testing framework and start adding a unit test for
each public header file.
2005-09-18 11:42:35 +00:00
chris_kohlhoff
1960f94b01 Add safe buffer support for arrays, boost::array and vector. 2005-09-18 05:12:36 +00:00
chris_kohlhoff
d7b8eb5f96 Update concepts to reflect new multiple-buffer support. 2005-09-17 05:29:15 +00:00
chris_kohlhoff
44ecb59e6b Use std::size_t rather than size_t in all public interfaces. 2005-09-17 05:14:01 +00:00
chris_kohlhoff
eb762a518f Fix to compile under MinGW. 2005-09-17 04:49:36 +00:00
chris_kohlhoff
6ec48025f5 Fix locking_dispatcher_impl so it builds with Borland C++. 2005-09-17 02:37:59 +00:00
chris_kohlhoff
151233080c Make task_demuxer_service and locking_dispatcher_impl exception safe so
that we don't suppress exceptions.
2005-09-16 13:32:44 +00:00
chris_kohlhoff
6dcdb2f4d3 Don't suppress exceptions thrown from handlers, but instead allow them to
propagate out of the demuxer::run() function.
2005-09-16 12:57:01 +00:00
chris_kohlhoff
d38ea49ee3 Map ERROR_NETNAME_DELETE to a more appropriate error. 2005-09-16 12:33:14 +00:00
chris_kohlhoff
f411a199b8 Use one TSS slot for all demuxers of a given type, rather than one per
demuxer object.
2005-09-15 14:18:30 +00:00
chris_kohlhoff
1ce5db1e20 Add .cvsignore file for new directory. 2005-09-15 12:17:45 +00:00
chris_kohlhoff
debc83bdbe Replace basic_demuxer::work_started() and basic_demuxer::work_finished()
functions by a basic_demuxer::work class that starts the work in the
constructor and finishes it in the destructor. Thanks to Arvid Norberg
<c99ang at cs dot umu dot se> for suggesting this.
2005-09-15 12:16:51 +00:00
chris_kohlhoff
37c437d51b Add iostreams example to makefile. 2005-09-12 10:17:35 +00:00
chris_kohlhoff
9a68d3823d Added Roland Schwarz and Arvid Norberg. 2005-09-12 09:47:17 +00:00
chris_kohlhoff
09228559c4 Add stream output operators for ipv4::address, ipv4::tcp::endpoint and
ipv4::udp::endpoint. Thanks to Arvid Norberg <c99ang at cs dot umu dot se>
for suggesting this.
2005-09-12 09:43:54 +00:00
chris_kohlhoff
2f01eea9a1 Add better support for targeting Win9x/Me platforms. 2005-09-12 08:18:57 +00:00
chris_kohlhoff
d597ff2c6d Fix code missed in earlier conversion to support multiple buffers. 2005-09-12 07:14:22 +00:00
chris_kohlhoff
5807e02554 Fix typo in new socket_ops implementations. 2005-09-12 06:39:41 +00:00
chris_kohlhoff
e8062c390e Convert posix backend to support multiple buffers. 2005-09-12 06:30:50 +00:00
chris_kohlhoff
236bfdab3f Remove control character from comments. 2005-09-12 01:06:45 +00:00
chris_kohlhoff
38ed1b2395 Finish converting buffered stream templates to support multiple buffers on
read and write.
2005-09-10 12:12:59 +00:00
chris_kohlhoff
1066ee2462 Convert buffered_read_stream to use multiple buffers. 2005-09-10 00:28:23 +00:00
chris_kohlhoff
a254c2bf18 Fix for Borland C++. 2005-09-09 12:59:56 +00:00
chris_kohlhoff
f024018981 Convert write functions to use buffers. Change all tests and examples to
use the new buffers support.
2005-09-09 12:44:03 +00:00
chris_kohlhoff
6a63aa0e14 Work in progress checkin for conversion to use buffers concepts. 2005-09-08 22:47:28 +00:00
chris_kohlhoff
67b8ec5c24 Move accept operations into win_iocp_socket_service. 2005-09-08 07:53:18 +00:00
chris_kohlhoff
1cda44cb45 Fix test to take into account that some systems may have network interfaces
that are not known to the DNS server.
2005-09-06 12:34:52 +00:00
chris_kohlhoff
4a7d22dc56 Ensure that WSAStartup/WSACleanup are only called once, as they can leak
on some versions of windows.
2005-09-06 11:29:13 +00:00
chris_kohlhoff
fc5cb44b6e Add support for automatically linking in ws2_32.lib. 2005-09-06 10:26:47 +00:00
chris_kohlhoff
e3a03ef387 Add back missing get_remote_endpoint implementation. 2005-09-04 13:24:46 +00:00
chris_kohlhoff
f3ea72fd66 Add use of get_remote_endpoint. 2005-09-04 13:22:03 +00:00
chris_kohlhoff
851338b117 Make select thread more tolerant of problems when shutting down. 2005-09-04 13:11:54 +00:00