Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Essential Networking Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWSockAddrBase

Module:  Essential Networking Module   Package:  Networking


Does not inherit

Local Index

Members

Non-Members

Header File

#include <rw/network/RWSockAddrBase.h>

Description

RWSockAddrBase is an interface class that represents a socket address. All member functions are virtual. The class RWSockAddr is a proxy class that provides an interface to an RWSockAddrBase object whose exact type can be known only at run time.

Public Member Operator

virtual
operator const RWCString () const;

Public Destructor

virtual 
~RWSockAddrBase();

Public Member Functions

virtual const RWSockAddrBase*
myAddress() const;
virtual RWSockType 
addressType() const =0;
virtual sockaddr* 
asSockaddr() const =0;
int 
getDomain() const;
int 
getFamily() const;
RWCString 
getFamilyName() const;
int 
getProtocol() const; 
int 
getType() const; 
RWCString 
id(unsigned level=0) const =0;
virtual void 
prepare() const;
virtual size_t 
sockaddrSize() const =0;

Global Operator

ostream& 
operator<<(ostream& strm, const RWSockAddrBase& x);

NOTE -- This class does not have an extraction (>>) operator.


Previous fileTop of DocumentContentsIndex pageNext file

© 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.