Constructs an RWSockType for an IPv6 address type.
More...
#include <rw/network/RWInet6Type.h>
RWInet6Type enables you to construct an RWSockType for an IPv6 address type. This class adds no state, so instances can be converted to RWSockType with no loss of information.
◆ RWInet6Type() [1/2]
RWInet6Type::RWInet6Type |
( |
| ) |
|
|
inline |
The family name is set to inet6
, the family id is set to AF_INET6
, the socket type is set to SOCK_STREAM
, and the protocol is set to 0
.
◆ RWInet6Type() [2/2]
RWInet6Type::RWInet6Type |
( |
int | type, |
|
|
int | protocol = 0 ) |
|
explicit |
The family name is set to inet6
, and the family id is set to AF_INET6
.