Realistic 3D camera system
3D camera system components
|
Encapsulates the flags needed for TCP. More...
#include <tcp.hpp>
Public Types | |
typedef basic_endpoint< tcp > | endpoint |
The type of a TCP endpoint. More... | |
typedef basic_stream_socket< tcp > | socket |
The TCP socket type. More... | |
typedef basic_socket_acceptor< tcp > | acceptor |
The TCP acceptor type. More... | |
typedef basic_resolver< tcp > | resolver |
The TCP resolver type. More... | |
typedef basic_socket_iostream< tcp > | iostream |
The TCP iostream type. More... | |
typedef asio::detail::socket_option::boolean< ASIO_OS_DEF(IPPROTO_TCP), ASIO_OS_DEF(TCP_NODELAY)> | no_delay |
Socket option for disabling the Nagle algorithm. More... | |
Public Member Functions | |
int | type () const |
Obtain an identifier for the type of the protocol. More... | |
int | protocol () const |
Obtain an identifier for the protocol. More... | |
int | family () const |
Obtain an identifier for the protocol family. More... | |
Static Public Member Functions | |
static tcp | v4 () |
Construct to represent the IPv4 TCP protocol. More... | |
static tcp | v6 () |
Construct to represent the IPv6 TCP protocol. More... | |
Friends | |
bool | operator== (const tcp &p1, const tcp &p2) |
Compare two protocols for equality. More... | |
bool | operator!= (const tcp &p1, const tcp &p2) |
Compare two protocols for inequality. More... | |
Encapsulates the flags needed for TCP.
The asio::ip::tcp class contains flags necessary for TCP sockets.
typedef basic_endpoint<tcp> asio::ip::tcp::endpoint |
typedef asio::detail::socket_option::boolean< ASIO_OS_DEF(IPPROTO_TCP), ASIO_OS_DEF(TCP_NODELAY)> asio::ip::tcp::no_delay |
Socket option for disabling the Nagle algorithm.
Implements the IPPROTO_TCP/TCP_NODELAY socket option.
typedef basic_resolver<tcp> asio::ip::tcp::resolver |
typedef basic_stream_socket<tcp> asio::ip::tcp::socket |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |