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

RWSockType

Module:  Essential Networking Module   Package:  Networking


Does not inherit

Local Index

Members

Header File

#include <rw/network/RWSockType.h>

Description

RWSockType represents a type of socket communications channel. It is made up of a family (or domain), a type, and a protocol. An example of a family is the Internet TCP/IP family AF_INET. A socket type is SOCK_STREAM or SOCK_DGRAM. A protocol could be PF_INET or PF_UNSPEC.

Public Constructors

RWSockType();

Protected Constructor

RWSockType(const RWCString& familyName, int domain,
           int type=SOCK_STREAM, int protocol=0);

Public Destructor

~RWSockType();

Public Member Operators

bool 
operator==(const RWSockType&) const;
bool 
operator!=(const RWSockType&) const;

Public Member Functions

int 
getDomain() const; 
int 
getFamily() const; 
RWCString 
getFamilyName() const;
int 
getProtocol() const; 
int 
getType() const; 
RWCString 
id(unsigned level=0) const;


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.