Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

IPAddress.h File Reference

#include <omnetpp.h>
#include <iostream>
#include <string>
#include "INETDefs.h"

Defines

#define IPADDRESS_UNDEF   IPAddress()

Typedefs

typedef short PortNumber

Functions

std::ostream & operator<< (std::ostream &os, const IPAddress &ip)

Variables

const int ADDRESS_STRING_SIZE = 20
const short PORT_UNDEF = 0
const short PORT_MAX = 0x7fff


Define Documentation

#define IPADDRESS_UNDEF   IPAddress()
 


Typedef Documentation

typedef short PortNumber
 

TCP/UDP port number


Function Documentation

std::ostream& operator<< std::ostream &  os,
const IPAddress ip
[inline]
 

00272 {
00273     return os << ip.str();
00274 }


Variable Documentation

const int ADDRESS_STRING_SIZE = 20
 

String size to hold an address. This is the size of the string that should be used to initialize the IPAddress class, and it is the max length of the string returned by IPAddress::str()

const short PORT_MAX = 0x7fff
 

const short PORT_UNDEF = 0
 


Generated on Thu Oct 19 18:22:19 2006 for INET Framework for OMNeT++/OMNEST by  doxygen 1.4.0