boost::corosio::socket_option::v6_only
Restrict an IPv6 socket to IPv6 only (IPV6_V6ONLY).
Synopsis
Declared in <boost/corosio/socket_option.hpp>
class v6_only
: public boolean_option
Description
When enabled, the socket only accepts IPv6 connections. When disabled, the socket accepts both IPv4 and IPv6 connections (dual‐stack mode).
Member Functions
Name |
Description |
Assign a new value. |
|
Return a pointer to the underlying storage. |
|
Return the negated option value. |
|
Normalize after |
|
Return the size of the underlying storage. |
|
Return the option value. |
|
Return the option value. |
Using Declarations
Name |
Created with MrDocs