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  boost::asio::detail::socket_option::boolean < BOOST_ASIO_OS_DEF(IPPROTO_TCP), BOOST_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 boost::asio::ip::tcp class contains flags necessary for TCP sockets.
The TCP acceptor type.
The type of a TCP endpoint.
The TCP iostream type.
| typedef boost::asio::detail::socket_option::boolean< BOOST_ASIO_OS_DEF(IPPROTO_TCP), BOOST_ASIO_OS_DEF(TCP_NODELAY)> boost::asio::ip::tcp::no_delay | 
Socket option for disabling the Nagle algorithm.
Implements the IPPROTO_TCP/TCP_NODELAY socket option.
The TCP resolver type.
The TCP socket type.
      
  | 
  inline | 
Obtain an identifier for the protocol family.
      
  | 
  inline | 
Obtain an identifier for the protocol.
      
  | 
  inline | 
Obtain an identifier for the type of the protocol.
      
  | 
  inlinestatic | 
Construct to represent the IPv4 TCP protocol.
      
  | 
  inlinestatic | 
Construct to represent the IPv6 TCP protocol.