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

RWInetPort

Module:  Essential Networking Module   Package:  Networking


Does not inherit

Local Index

Members

Non-Members

Header File

#include <rw/network/RWInetPort.h>

Description

Encapsulates an Internet port and its service names. You can construct an RWInetPort from either an explicit port number or a symbolic service name.

Public Constructors

RWInetPort(int port=0);
RWInetPort(const RWCString& service);
RWInetPort(const char *);

Public Member Operator

bool 
operator==(const RWInetPort& rhs) const;
bool 
operator!=(const RWInetPort& rhs) const;

Public Member Functions

RWTValVector<RWCString> 
getAliases() const;
RWCString
getName() const;
int
getPort() const;
RWCString 
id(unsigned level=0) const;
void 
prepare() const;

Global Operator

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


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.