...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Encapsulates the flags needed for a generic sequenced packet socket.
class seq_packet_protocol
Name |
Description |
---|---|
Obtain an identifier for the protocol family. |
|
Obtain an identifier for the protocol. |
|
seq_packet_protocol [constructor] |
Construct a protocol object for a specific address family and protocol.
|
Obtain an identifier for the type of the protocol. |
Name |
Description |
---|---|
Compare two protocols for inequality. |
|
Compare two protocols for equality. |
The generic::seq_packet_protocol
class contains
flags necessary for seq_packet-oriented sockets of any address family and
protocol.
Constructing using a native address family and socket protocol:
seq_packet_protocol p(AF_INET, IPPROTO_SCTP);
Distinct objects: Safe.
Shared objects: Safe.
Header: boost/asio/generic/seq_packet_protocol.hpp
Convenience header: boost/asio.hpp