Christopher Kohlhoff
9df7f38577
Fix unused argument warnings.
...
[SVN r38791]
2007-08-20 14:32:05 +00:00
Christopher Kohlhoff
78d7795fba
Increase number of buffers that may be sent or received in a single operation.
...
Clean up win_iocp_socket_service's close-on-destruction handling to ensure
non-blocking socket destructors.
[SVN r38788]
2007-08-20 14:17:15 +00:00
Christopher Kohlhoff
984fd932d6
Fix unused argument warning.
...
[SVN r38787]
2007-08-20 14:12:31 +00:00
Christopher Kohlhoff
69310edc3c
Fix order of initialisation problem with error categories.
...
[SVN r38786]
2007-08-20 14:11:46 +00:00
Christopher Kohlhoff
989ff8a599
Add missing static keyword to the service_id_matches functions.
...
[SVN r38785]
2007-08-20 14:08:16 +00:00
Christopher Kohlhoff
25fa47276c
Add a workaround for Windows Vista's handling of the boolean socket option
...
tcp::no_delay, where ::getsockopt will return the size of the option as one
byte, even though a four byte integer was passed in.
[SVN r38784]
2007-08-20 14:07:23 +00:00
Christopher Kohlhoff
4d914fcd64
Add a note to basic_socket<>::close() indicating that shutdown() should
...
be used for portable graceful closure.
[SVN r38783]
2007-08-20 13:53:27 +00:00
Christopher Kohlhoff
b98a841fa6
Improve documentation for completion condition objects.
...
[SVN r38323]
2007-07-31 11:39:30 +00:00
Christopher Kohlhoff
0a42306700
Always restart epoll_reactor operations if the callback handler indicates
...
that they should be restarted, even if there was an error associated with
the file descriptor, to ensure that operations don't get "lost".
Don't cleanup pending timer objects while the reactor lock is held, since
the destructors for the objects may try to make calls back into the
reactor.
[SVN r38322]
2007-07-31 11:36:10 +00:00
Christopher Kohlhoff
e12b0141a6
Eliminate spurious warning for MSVC8 when using /W4 and /Wp64.
...
[SVN r38321]
2007-07-31 11:35:00 +00:00
Christopher Kohlhoff
dac0aa7f77
Need to include socket_types.hpp for definition of _WIN32_WINNT.
...
[SVN r38320]
2007-07-31 11:34:12 +00:00
Christopher Kohlhoff
788d350ec5
Don't cleanup pending timer objects while the reactor lock is held, since
...
the destructors for the objects may try to make calls back into the
reactor.
[SVN r38319]
2007-07-31 11:33:29 +00:00
Christopher Kohlhoff
3f41710b85
Add support for the non-POSIX getaddrinfo errors EAI_NODATA and
...
EAI_ADDRFAMILY.
[SVN r38318]
2007-07-31 11:32:49 +00:00
Christopher Kohlhoff
3cb6db7cae
Don't perform debug check with 0-sized buffers.
...
[SVN r38053]
2007-06-21 23:29:19 +00:00
Christopher Kohlhoff
86a79bede3
Add missing error message.
...
[SVN r37798]
2007-05-27 08:04:32 +00:00
Christopher Kohlhoff
65e054db78
Work around mysterious Borland C++ bug that prevents getsockopt and
...
setsockopt from working correctly.
[SVN r37734]
2007-05-21 13:05:06 +00:00
Christopher Kohlhoff
1742d2e664
Documentation fixes.
...
[SVN r37720]
2007-05-20 01:04:11 +00:00
Christopher Kohlhoff
cbba2f8ecd
Documentation updates.
...
[SVN r37718]
2007-05-20 00:30:54 +00:00
Christopher Kohlhoff
463b06e4b0
To get portable behaviour for SO_REUSEADDR with UDP, the Mac OS X and BSD
...
platforms also need SO_REUSEPORT to be set.
[SVN r37717]
2007-05-20 00:28:55 +00:00
Christopher Kohlhoff
68b94f2dc0
Need to enable SO_NOSIGPIPE option on FreeBSD.
...
[SVN r37715]
2007-05-20 00:28:13 +00:00
Christopher Kohlhoff
899d252fb9
Allow everything to compile on platforms where IPV6_V6ONLY is not defined
...
(such as Linux distros with a 2.4 kernel), but make any use of ip::v6_only
fail at runtime.
[SVN r37681]
2007-05-13 08:18:09 +00:00
Christopher Kohlhoff
972c54ba27
Preserve the user-set blocking mode over an async connect.
...
[SVN r37673]
2007-05-12 10:48:24 +00:00
Christopher Kohlhoff
75dd9fdefe
Need to define IPV6_UNICAST_HOPS when building with an old Platform SDK.
...
[SVN r37672]
2007-05-12 10:48:01 +00:00
Christopher Kohlhoff
41bf5929d3
Zero out address structure to prevent failures on some platforms.
...
[SVN r37671]
2007-05-12 10:47:15 +00:00
Christopher Kohlhoff
9ec1d04a0b
Some older UNIX platforms return EPROTO from accept() to indicate that a
...
connection was lost before being fully established.
[SVN r37670]
2007-05-12 10:46:47 +00:00
Christopher Kohlhoff
cbe0de5634
Add documentation note specifying that pending handlers are still executed
...
after a strand is destroyed.
[SVN r37632]
2007-05-08 13:40:08 +00:00
Christopher Kohlhoff
05518d58e6
Ensure internal non-blocking flag is set if the user wants non-blocking.
...
[SVN r37631]
2007-05-08 13:39:04 +00:00
Christopher Kohlhoff
288b994d9b
Add header file containing Boost.Asio version number.
...
[SVN r37628]
2007-05-08 12:20:38 +00:00
Christopher Kohlhoff
66424c1579
Clarify behaviour of io_service::run() in a thread pool.
...
[SVN r37606]
2007-05-06 22:36:18 +00:00
Christopher Kohlhoff
c64a2dbdaa
Fix ip::multicast::enable_loopback option so that it works on Solaris.
...
[SVN r37605]
2007-05-06 22:35:35 +00:00
Christopher Kohlhoff
8437b8a23f
Fix bug in timer heap management.
...
[SVN r37483]
2007-04-22 07:42:59 +00:00
Christopher Kohlhoff
18dcdcb3ab
Enable buffer debugging for g++ when _GLIBCXX_DEBUG is defined.
...
[SVN r37482]
2007-04-22 07:41:54 +00:00
Christopher Kohlhoff
d926a9054f
Don't copy a default-constructed vector iterator.
...
[SVN r37481]
2007-04-22 07:38:55 +00:00
Christopher Kohlhoff
905e8594fb
Fix comments.
...
[SVN r37389]
2007-04-07 08:54:58 +00:00
Christopher Kohlhoff
4667159f1c
Fix problem where the safe_cancellation_thread_id_ was not being calculated
...
correctly.
[SVN r37388]
2007-04-07 08:50:42 +00:00
Christopher Kohlhoff
2fc7b8e99c
Fix libstdc++ debug error.
...
[SVN r37387]
2007-04-07 08:48:12 +00:00
Christopher Kohlhoff
bafa5a3c7a
Some fixes for Solaris, AIX and HP-UX.
...
[SVN r37020]
2007-02-20 13:19:53 +00:00
Christopher Kohlhoff
f8af480754
Fix crash in comparison of service ids.
...
[SVN r37018]
2007-02-20 13:15:08 +00:00
Christopher Kohlhoff
adf40110f9
Solaris defines FD_ZERO to use an unqualified call to memset, so we need to
...
make the function visible using 'using namespace std'.
[SVN r36938]
2007-02-13 07:15:36 +00:00
Christopher Kohlhoff
0d4ccec23f
Fix use of hash_value overloads to work on x64 with the Vista version of
...
the Platform SDK.
[SVN r36917]
2007-02-09 06:44:12 +00:00
Christopher Kohlhoff
6267a27180
Fix to correctly clear error after successful call of WSAAddresstoString or
...
WSAStringToAddress.
[SVN r36916]
2007-02-09 06:43:00 +00:00
Christopher Kohlhoff
bb236cb7b3
Add is_open() function to acceptor.
...
[SVN r36915]
2007-02-09 06:41:29 +00:00
Christopher Kohlhoff
3fb401181e
Use IN6ADDR_ANY_INIT rather than IPPROTO_IPV6 to detect whether the Windows
...
Platform SDK supports IPv6, since the Vista Platform SDK has changed
IPPROTO_IPV6 to an enum.
[SVN r36904]
2007-02-06 22:34:02 +00:00
Christopher Kohlhoff
44b862a24a
Workaround is needed for BDS2006.
...
[SVN r36903]
2007-02-06 22:23:48 +00:00
Christopher Kohlhoff
2520c84cd0
Update basic_socket_streambuf and basic_socket_iostream to (almost) match
...
the TR2 proposal.
[SVN r36753]
2007-01-19 01:09:33 +00:00
Christopher Kohlhoff
39f2ce8d45
Add ability to turn iostream output buffering off.
...
[SVN r36730]
2007-01-15 07:43:01 +00:00
Christopher Kohlhoff
2212dddb1f
Automatically break large buffers into smaller chunks when using read(),
...
async_read(), write() or async_write().
[SVN r36724]
2007-01-13 23:17:41 +00:00
Christopher Kohlhoff
0c536811ff
The misc_ecat error category now needs to be available for Win32 builds.
...
[SVN r36718]
2007-01-13 12:27:06 +00:00
Christopher Kohlhoff
7db5f2d133
Fix bug where the io_service could incorrectly run out of work (and so shut
...
down) when an overlapped I/O function fails immediately.
[SVN r36717]
2007-01-13 12:21:01 +00:00
Christopher Kohlhoff
4ee1510c76
Update socket interfaces to match TR2 proposal.
...
[SVN r36675]
2007-01-09 13:54:51 +00:00