Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWInetPort


RWInetAddrRWInetPort

Module

Networking Tools: Network Communication Classes (net library)

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Member Functions

Synopsis

#include <rw/toolpro/inetaddr.h>
RWInetPort port("discard");

Required Libraries

net, tls (and possibly std)

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 *);

Copy Constructors

RWInetPort(const RWInetPort& x);

Public Member Functions

RWTValVector<RWCString> 
aliases() const;
RWCString 
id(unsigned level=0);
RWCString
name() const;
int
port() const;
void 
prepare() const;

Global Operators

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

Assignment Operators

RWInetPort& 
operator=(const RWInetPost& x);


Previous fileTop of DocumentContentsIndexNext file

©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.