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

6.7 Using Socket Types

A socket type represents the type of communication channel for which a socket serves as an endpoint.


The Networking package sets defaults for these types, so you might not need to read this section.

6.7.1 Understanding Socket Types

A socket's type has three components:

The only family fully implemented in the Networking package is the Internet protocol family. However, you can add your own address families.

6.7.2 Representing a Socket Type

In the Networking package, a socket address type is represented by an RWSockType object. This is a concrete class that does not have virtual functions, but does have copying and assignment semantics. The RWInetType class can be used to construct an RWSockType for the Internet family of classes. Because RWSockType is a concrete class, these derived classes can be converted to instances of RWSockType with no change in the semantics of the object.



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.