RWInetTypeRWSockType
Networking Tools: Network Communication Classes (net library)
#include <rw/toolpro/inetaddr.h> RWSockType inet = RWInetType();
net, tls (and possibly std)
This class provides a convenient mechanism to construct an RWSockType for an internet address type. Since this class adds no state, instances can be converted to RWSockType with no loss of information.
RWInetType(int type=SOCK_STREAM, int protocol=0);
The family name is set to "inet" and the family id is set to AF_INET.
RWInetType(const RWInetType& x);
Creates a copy of x.
RWInetType& operator=(const RWInetType& x);
Makes self a copy of x. The previous contents of self are lost.
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.