Commit Graph

563 Commits

Author SHA1 Message Date
chris_kohlhoff
0f15f7fbdd The populate_host_object function needs to be public so that it can be
accessed from the handler class.
2005-08-30 23:16:28 +00:00
chris_kohlhoff
40dd2c72e0 Remove "native_" prefix from Endpoint concept functions. 2005-08-30 14:13:03 +00:00
chris_kohlhoff
dabe02ddc6 Add a simple implementation of asynchronous host resolution operations. 2005-08-30 14:11:05 +00:00
chris_kohlhoff
687c738d1d Add support for the SO_LINGER option. 2005-08-30 12:02:41 +00:00
chris_kohlhoff
6aae991f90 Add missing #include. 2005-08-30 07:25:38 +00:00
chris_kohlhoff
05eee55231 Allow close operations to return errors. 2005-08-30 04:56:24 +00:00
chris_kohlhoff
1457dca3b2 Fix MSVC compiler error. 2005-08-30 04:55:28 +00:00
chris_kohlhoff
d9b2af73cc Fix connect to ensure socket is registered with the IO completion port. 2005-08-30 04:54:46 +00:00
chris_kohlhoff
5fde150267 Change asio::ipv4::host to be a class. 2005-08-30 01:13:53 +00:00
chris_kohlhoff
618f57e0f5 Move actual execution of close operation out of the reactor. 2005-08-29 23:05:41 +00:00
chris_kohlhoff
e95001bb1a Keep reference to the reactive_socket_service alive. 2005-08-29 22:52:35 +00:00
chris_kohlhoff
08d8da08a8 Add connected send and receive operations to datagram_socket. 2005-08-29 11:32:31 +00:00
chris_kohlhoff
3918d04ec6 Add support for the "connection aborted" error. 2005-08-29 10:40:43 +00:00
chris_kohlhoff
e6b5eb4134 Remove socket_connector classes and replace with connect/async_connect
functions on stream_socket and datagram_socket.
2005-08-29 07:32:25 +00:00
chris_kohlhoff
12272071f5 Add configure support for MacOS X. 2005-08-28 11:44:54 +00:00
chris_kohlhoff
0d52931ef6 Implement changes for MacOS X 10.4. 2005-08-28 11:41:06 +00:00
chris_kohlhoff
c3f90286a2 Suppress a spurious MSVC compiler warning from the Boost.Date_Time library. 2005-08-28 01:29:42 +00:00
chris_kohlhoff
ee3d7250b9 Add flags parameter to send_to and receive_from functions. 2005-08-28 01:24:25 +00:00
chris_kohlhoff
f9b5f8f0cb Allow the socket acceptor to accept either stream or datagram sockets. 2005-08-27 14:36:29 +00:00
chris_kohlhoff
e0fecbeb73 Merge service implementations of stream socket, datagram socket, and
socket acceptor.
2005-08-27 13:59:34 +00:00
chris_kohlhoff
5082408529 Add helper templates for IO control commands. 2005-08-27 13:59:11 +00:00
chris_kohlhoff
e4fc52c4a6 Merge service implementations for stream socket, datagram socket, and
socket acceptor.
2005-08-27 13:58:15 +00:00
chris_kohlhoff
b0d0694c30 Merge service implementations for stream sockets, datagram sockets and
socket acceptors.
2005-08-27 13:57:35 +00:00
chris_kohlhoff
7c46c6db95 Add new concept for IO control commands. 2005-08-27 13:52:53 +00:00
chris_kohlhoff
953a3fa68c Tidy up socket options. 2005-08-27 09:56:54 +00:00
chris_kohlhoff
0f432816e7 Add ability to specify the allocator when constructing a demuxer. 2005-08-27 07:44:33 +00:00
chris_kohlhoff
430f420f29 Use short names for generated html files to avoid exceeding the filename
length limit for tar files.
2005-08-27 07:44:01 +00:00
chris_kohlhoff
efe44c35c2 Make one-argument constructors explicit. 2005-08-27 07:42:20 +00:00
chris_kohlhoff
5aa69f7137 Fix up reference to asio::deadline_timer. 2005-08-27 03:26:20 +00:00
chris_kohlhoff
fe097a4e63 Add a function for accessing the allocator associated with the demuxer
service.
2005-08-27 03:23:50 +00:00
chris_kohlhoff
554fba265a Change asio::timer to asio::deadline_timer, which uses the Boost.Date_Time
library. This means asio now requires Boost 1.33.0 or later.
2005-08-27 03:09:18 +00:00
chris_kohlhoff
e5cf5005e3 Fix valgrind warnings. 2005-08-27 00:12:20 +00:00
chris_kohlhoff
c12aca44ee Get new services working on Windows. Fix up doxygen comments. 2005-08-25 13:46:09 +00:00
chris_kohlhoff
103406a604 Make service classes part of the published interface. 2005-08-24 22:47:16 +00:00
chris_kohlhoff
d74c9a743a Add better error information. 2005-08-24 22:45:31 +00:00
chris_kohlhoff
0e794683db Add send and receive functions to stream_socket. These functions now take
an extra "flags" parameter.
2005-08-22 23:10:49 +00:00
chris_kohlhoff
3ae51692e3 Rename recv to read and send to write. 2005-08-22 12:38:45 +00:00
chris_kohlhoff
30e4ce62cb Add an iostreams example. 2005-08-21 08:44:34 +00:00
chris_kohlhoff
d28ec687ef Renamed dgram_socket to datagram_socket. 2005-08-21 08:03:10 +00:00
chris_kohlhoff
34d925469a Remove dgram_socket_base since it's no longer needed. 2005-08-21 06:15:52 +00:00
chris_kohlhoff
a2cbc0c5e6 Rename stream_socket_base to socket_base so that it can also be used for
dgram_socket.
2005-08-21 06:10:53 +00:00
chris_kohlhoff
44c8757a44 Make the get_* functions on stream_socket and dgram_socket const. Thanks to
Caleb Epstein for suggesting this.
2005-08-16 22:12:07 +00:00
chris_kohlhoff
4eb6d2b17e Fix incorrect include guards. 2005-08-16 22:10:44 +00:00
chris_kohlhoff
b0603f9688 Add a "#pragma once" include for MSVC. Thanks to Pavel Vozenilek for
suggesting this.
2005-08-15 13:57:53 +00:00
chris_kohlhoff
2261d517e7 Move check for correct RTL into push_options.hpp and add support for MSVC. 2005-08-11 22:47:39 +00:00
chris_kohlhoff
8029f88414 Prevent inclusion of wspiapi.h when building with Borland C++, as it breaks
precompiled headers. Add define for WIN32_LEAN_AND_MEAN to speed up
compilation. Thanks to Pavel Vozenilek for these suggestions.
2005-08-11 14:04:39 +00:00
chris_kohlhoff
d125ec8e45 Check that the correct RTL is being used when compiling with Borland C++.
Thanks to Pavel Vozenilek for this suggestion.
2005-08-11 14:03:14 +00:00
chris_kohlhoff
7245ce1d88 Update to use latest version of doxygen (1.4.3). 2005-07-15 23:19:22 +00:00
chris_kohlhoff
2df5f715fa Added Dirk Griffioen, who suggested adding multicast support into asio. 2005-04-13 22:33:22 +00:00
chris_kohlhoff
4fffb0ff9a asio version 0.3.2 released 2005-04-13 22:21:12 +00:00