SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
RWInet6Type Class Reference

Constructs an RWSockType for an IPv6 address type. More...

#include <rw/network/RWInet6Type.h>

Inheritance diagram for RWInet6Type:
RWSockType

Public Member Functions

 RWInet6Type (int type=SOCK_STREAM, int protocol=0)
 
- Public Member Functions inherited from RWSockType
 RWSockType ()
 
 RWSockType (const RWCString &familyName, int domain, int type=SOCK_STREAM, int protocol=0)
 
 ~RWSockType ()
 
int getDomain () const
 
int getFamily () const
 
RWCString getFamilyName () const
 
int getProtocol () const
 
int getType () const
 
RWCString id (unsigned level) const
 
bool operator!= (const RWSockType &) const
 
bool operator== (const RWSockType &) const
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ RWInet6Type()

RWInet6Type::RWInet6Type ( int type = SOCK_STREAM,
int protocol = 0 )

The family name is set to inet6, and the family id is set to AF_INET6.

Copyright © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.