#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 IPADDRESS_UNDEF IPAddress() |
typedef short PortNumber |
TCP/UDP port number
std::ostream& operator<< | ( | std::ostream & | os, | |
const IPAddress & | ip | |||
) | [inline] |
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 |