2 / Copyright (c) 2003-2016 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:InternetProtocol Internet protocol requirements]
10 An internet protocol must meet the requirements for a [link
11 boost_asio.reference.Protocol protocol] as well as the additional
12 requirements listed below.
14 In the table below, `X` denotes an internet protocol class, `a` denotes a value
15 of type `X`, and `b` denotes a value of type `X`.
17 [table InternetProtocol requirements
18 [[expression] [return type] [assertion/note\npre/post-conditions]]
21 [`ip::basic_resolver<X>`]
22 [The type of a resolver for the protocol.]
27 [Returns an object representing the IP version 4 protocol.]
32 [Returns an object representing the IP version 6 protocol.]
36 [convertible to `bool`]
37 [Returns whether two protocol objects are equal.]
41 [convertible to `bool`]
42 [Returns `!(a == b)`.]