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:SettableSocketOption Settable socket option requirements]
10 In the table below, `X` denotes a socket option class, `a` denotes a value of
11 `X`, `p` denotes a value that meets the [link boost_asio.reference.Protocol
12 protocol] requirements, and `u` denotes an identifier.
14 [table SettableSocketOption requirements
15 [[expression] [type] [assertion/note\npre/post-conditions]]
20 Returns a value suitable for passing as the /level/ argument to __POSIX__
21 __setsockopt__ (or equivalent).
28 Returns a value suitable for passing as the /option_name/ argument to
29 __POSIX__ __setsockopt__ (or equivalent).
35 [a pointer, convertible to `const void*`]
37 Returns a pointer suitable for passing as the /option_value/ argument to
38 __POSIX__ __setsockopt__ (or equivalent).
45 Returns a value suitable for passing as the /option_len/ argument to
46 __POSIX__ __setsockopt__ (or equivalent), after appropriate integer
47 conversion has been performed.