RWInetAddrFactoryRWSockAddrFactoryBase
RWSockAddrBase
Networking Tools: Network Communication Classes (net library)
#include <rw/toolpro/inetfact.h>
net, tls (and possibly std)
RWInetAddrFactory is used by RWSockAddrFactory to create instances of RWInetAddr. It is not used directly by clients of the network communication classes. Only a single instance of RWInetAddrFactory exists; it is created at the time the RWSockAddrFactory is constructed.
RWInetAddrFactory();
If no instance has been created yet, construct an instance of this class and register it with RWSockAddrFactory.
virtual RWSockAddrBase* operator()(struct sockaddr *addr, int addrLen) const; virtual RWSockAddrBase* operator()(struct sockaddr *addr, int addrLen, int type) const; virtual RWSockAddrBase* operator()(const RWCString&) const;
Constructs an address from the C representation.
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.