2 / Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com)
4 / Distributed under the Boost Software License, Version 1.0. (See accompanying
5 / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 [section:Protocol Protocol requirements]
10 A protocol must meet the requirements of `CopyConstructible` types (C++ Std,
11 20.1.3), and the requirements of `Assignable` types (C++ Std, 23.1).
13 In the table below, `X` denotes a protocol class, and `a` denotes a value of
16 [table Protocol requirements
17 [[expression] [return type] [assertion/note\npre/post-conditions]]
20 [type meeting [link boost_asio.reference.Endpoint endpoint] requirements]
27 Returns a value suitable for passing as the /domain/ argument to
28 __POSIX__ __socket__ (or equivalent).
35 Returns a value suitable for passing as the /type/ argument to __POSIX__
36 __socket__ (or equivalent).
43 Returns a value suitable for passing as the /protocol/ argument to
44 __POSIX__ __socket__ (or equivalent).