Public Member Functions | Public Attributes

TCP::SockPair Struct Reference

#include <TCP.h>

List of all members.

Public Member Functions

bool operator< (const SockPair &b) const

Public Attributes

IPvXAddress localAddr
IPvXAddress remoteAddr
int localPort
int remotePort

Detailed Description

Definition at line 113 of file TCP.h.


Member Function Documentation

bool TCP::SockPair::operator< ( const SockPair b  )  const [inline]

Definition at line 120 of file TCP.h.

        {
            if (remoteAddr!=b.remoteAddr)
                return remoteAddr<b.remoteAddr;
            else if (localAddr!=b.localAddr)
                return localAddr<b.localAddr;
            else if (remotePort!=b.remotePort)
                return remotePort<b.remotePort;
            else
                return localPort<b.localPort;
        }


Member Data Documentation


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