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

#include <TCP_NSC_Connection.h>

List of all members.

Public Member Functions

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

Public Attributes

IPvXAddress ipAddrM
unsigned short portM

Detailed Description

Definition at line 40 of file TCP_NSC_Connection.h.


Constructor & Destructor Documentation

Definition at line 43 of file TCP_NSC_Connection.h.

: ipAddrM(),portM(-1) {}

Member Function Documentation

bool TCP_NSC_Connection::SockAddr::operator< ( const SockAddr b) const [inline]

Definition at line 47 of file TCP_NSC_Connection.h.

        {
            if (ipAddrM == b.ipAddrM)
                return portM < b.portM;
            return ipAddrM < b.ipAddrM;
        }
bool TCP_NSC_Connection::SockAddr::operator== ( const SockAddr b) const [inline]

Definition at line 54 of file TCP_NSC_Connection.h.

        {
            return (ipAddrM == b.ipAddrM) && (portM == b.portM);
        }

Member Data Documentation

Definition at line 45 of file TCP_NSC_Connection.h.

Referenced by operator<(), and operator==().


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