INET Framework for OMNeT++/OMNEST
inet::tcp::TCP_NSC_Connection::SockAddr Class Reference

#include <TCP_NSC_Connection.h>

Public Member Functions

 SockAddr ()
 
bool operator< (const SockAddr &b) const
 
bool operator== (const SockAddr &b) const
 

Public Attributes

L3Address ipAddrM
 
unsigned short portM
 

Constructor & Destructor Documentation

inet::tcp::TCP_NSC_Connection::SockAddr::SockAddr ( )
inline
49 : ipAddrM(), portM(-1) {}
L3Address ipAddrM
Definition: TCP_NSC_Connection.h:50
unsigned short portM
Definition: TCP_NSC_Connection.h:51

Member Function Documentation

bool inet::tcp::TCP_NSC_Connection::SockAddr::operator< ( const SockAddr b) const
inline
54  {
55  if (ipAddrM == b.ipAddrM)
56  return portM < b.portM;
57  return ipAddrM < b.ipAddrM;
58  }
L3Address ipAddrM
Definition: TCP_NSC_Connection.h:50
unsigned short portM
Definition: TCP_NSC_Connection.h:51
value< double, units::m > b
Definition: Units.h:1054
bool inet::tcp::TCP_NSC_Connection::SockAddr::operator== ( const SockAddr b) const
inline
61  {
62  return (ipAddrM == b.ipAddrM) && (portM == b.portM);
63  }
L3Address ipAddrM
Definition: TCP_NSC_Connection.h:50
unsigned short portM
Definition: TCP_NSC_Connection.h:51
value< double, units::m > b
Definition: Units.h:1054

Member Data Documentation


The documentation for this class was generated from the following file: