...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A sequenced packet socket service must meet the requirements for a socket service, as well as the additional requirements listed below.
In the table below, X
denotes
a stream socket service class, a
denotes a value of type X
,
b
denotes a value of type
X::implementation_type
, ec
denotes a value of type error_code
,
f
denotes a value of type
socket_base::message_flags
, g
denotes an lvalue of type socket_base::message_flags
,
mb
denotes a value satisfying
mutable buffer
sequence requirements, rh
denotes a value meeting ReadHandler
requirements, cb
denotes a value satisfying constant
buffer sequence requirements, and wh
denotes a value meeting WriteHandler
requirements.
Table 24. StreamSocketService requirements
expression |
return type |
assertion/note |
---|---|---|
|
|
pre: |
|
|
pre: |
|
|
pre: |
|
|
pre: |