IPAddress.h File Reference

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

Classes

class  IPAddress

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]

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


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 Wed Apr 4 13:20:18 2007 for INET Framework for OMNeT++/OMNEST by  doxygen 1.4.7