SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
Constructs an RWSockType for an Internet address type. More...
#include <rw/network/RWInetType.h>
Public Member Functions | |
RWInetType (int type=SOCK_STREAM, int protocol=0) |
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.
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 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.
Contact Rogue Wave about documentation or support issues.