#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 |
|
|
|
TCP/UDP port number |
|
00272 { 00273 return os << ip.str(); 00274 }
|
|
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() |
|
|
|
|