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

2.2 The Networking Package

Figure 1 through Figure 4 show class hierarchies for the Networking package.

Figure 1: Portal classes

Figure 2: Wrapper classes

The RWxmsg, RWInternalErr, and RWExternalErr classes shown in Figure 3 are included in the Essential Tools Module.

Figure 3: Data-handling and error-handling classes

The std::istream, std::streambuf, and std::ostream classes shown in Figure 4 are included in the Standard C++ Library Module.

Figure 4: I/O services in the Networking package

Table 1 lists and briefly describes the classes and the global function in the Networking package.


NOTE -- Any hyphens that appear in the following table are for formatting purposes only. Rogue Wave class and interface names do not include hyphens.

Table 1: Classes and global functions in the Networking package 

Exception Classes

All exception classes derive from RWXmsg.

RWBufferedRecvPortal

Provides buffering of recv() calls to underlying portal

RWBufferedSendPortal

Provides buffering of send() calls to underlying portal

RWInet6Addr

Constructs a complete IPv6 address that includes type information, host, port, and scope.

RWInet6AddrFactory

Used by RWSockAddrFactory to create instances of RWInet6Addr.

RWInet6Host

Encapsulates an Internet host IPv6 address and its names.

RWInet6Type

Constructs an RWSockType for an IPv6 address type.

RWInetAddr

Constructs a complete Internet address that includes type information, a host, and a port.

RWInetAddrFactory

Used by the RWSockAddrFactory to create instances of RWInetAddr.

RWInetHost

Encapsulates an Internet host IP address and its names.

RWInetPort

Encapsulates an Internet port and its service names.

RWInetType

Constructs an RWSockType for an Internet address type.

RWNetBuf

Holds data and flags that indicate the state of the buffer.

RWMulticastSocket

Provides an extended interface to support multicast UDP sockets.

RWPortal

Is an access point to a reliable byte stream communication channel.

RWPortalImp

an abstract base class from which to create specialized portal types

RWPortalIStream

Typedef for RWTPortalIStream<char>.

RWPortalOStream

Typedef for RWTPortalOStream<char>.

RWPortalStream

Typedef for RWTPortalStream<char>.

RWPortalStreamBase

Typedef for RWTPortalStreamBase<char>.

RWPortalStreambuf

Typedef for RWTPortalStreambuf<char>.

RWSockAddr

Is a proxy to a socket address of a type that is not known until runtime.

RWSockAddrBase

Is an interface class that represents a socket address.

RWSockAddrFactory

Builds addresses of any (registered) type.

RWSockAddrFactoryBase

Is an abstract class for various address factories.

RWSocket

Is a wrapper for the C concept of a socket.

RWSocketAttribute

Encapsulates conditions that may be true for a socket.

RWSocketListener

Waits on a specified socket address for incoming connections.

RWSocketPortal

Is a socket implementation of a portal, implemented using the RWSocket class.

RWSockType

Represents a type of socket communications channel.

RWTimedPortal

Enables timed send and receive operations.

RWTPortalIStream<charT, traits = char_traits<charT> >

Provides an std::basic_istream that uses an RWPortal as its source of bytes.

RWTPortalOStream<chatT, traits = char_traits<charT> >

Provides an std::basic_ostream that uses an RWPortal as its sink of bytes.

RWTPortalStream<charT, traits = char_traits<charT> >

Provides a std::basic_iostream that uses an RWPortal as its source and sync of bytes.

RWTPortalStreamBase<charT, traits = char_traits<charT> >

Includes functions common to derived portal stream classes.

RWTPortalStreambuf<charT, traits = char_traits<charT> >

Provides a std::basic_streambuf that uses an RWPortal as its source and sink of bytes.

RWWinSockInfo

Initializes the Winsock DLL on Windows platforms.

rwSetBlocking

Sets an RWSocket into blocking mode.

rwSetNonBlocking

Sets an RWSocket into non-blocking mode.

rwSocketSelect

A global function that waits for a socket attribute to become true.



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.