SourcePro® C++ API Reference Guide

Product Documentation:
   SourcePro C++
Documentation Home
List of all members | Public Member Functions
RWInetType Class Reference

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

#include <rw/network/RWInetType.h>

Inheritance diagram for RWInetType:
RWSockType

Public Member Functions

 RWInetType (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

RWInetType enables you to construct an RWSockType for an Internet address type. This class adds no state, so instances can be converted to RWSockType with no loss of information.

Constructor & Destructor Documentation

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

The family name is set to inet and the family id is set to AF_INET.

Copyright © 2016 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.