8 #ifndef BOOSTER_AIO_STREAM_SOCKET_H
9 #define BOOSTER_AIO_STREAM_SOCKET_H
11 #include <booster/aio/types.h>
12 #include <booster/callback.h>
13 #include <booster/hold_ptr.h>
14 #include <booster/noncopyable.h>
15 #include <booster/aio/endpoint.h>
16 #include <booster/aio/basic_io_device.h>
17 #include <booster/aio/basic_socket.h>
70 void shutdown(how_type h);
213 BOOSTER_API
void socket_pair(stream_socket &s1,stream_socket &s2);
this class represents the connection endpoint, that is generally sockaddr structure in Berkeley socke...
Definition: endpoint.h:26
This class represents a basic Socket object.
Definition: basic_socket.h:26
A mutable buffer - a buffer for read operations.
Definition: buffer.h:97
Definition: callback.h:18
The lightweight object that carries a error code information and its category.
Definition: system_error.h:83
An immutable buffer - buffer for write operations.
Definition: buffer.h:105
BOOSTER_API void socket_pair(stream_socket &s1, stream_socket &s2, system::error_code &e)
family_type
Definition: types.h:68
This object represents a stream socket: TCP/IP IPv4 or IPv6 or Unix domain stream socket...
Definition: stream_socket.h:31
const_buffer buffer(void const *p, size_t n)
Definition: buffer.h:122
this is the central event loop that dispatches all requests.
Definition: io_service.h:37