Module: Essential Networking Module Package: Networking
RWInetAddrFactoryRWSockAddrFactoryBase
#include <rw/network/RWInetAddrFactory.h>
RWInetAddrFactory is used by RWSockAddrFactory to create instances of RWInetAddr. It is not used directly by clients of the Networking classes. Only a single instance of RWInetAddrFactory exists, and it is created at the time the RWSockAddrFactory is constructed.
RWInetAddrFactory();
If an instance has not yet been created, constructs an instance of this class and registers it with RWSockAddrFactory.
virtual ~RWInetAddrFactory();
Virtual destructor.
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 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.