#include <TCP.h>
Public Member Functions | |
bool | operator< (const SockPair &b) const |
Public Attributes | |
IPvXAddress | localAddr |
IPvXAddress | remoteAddr |
short | localPort |
short | remotePort |
|
00125 {
00126 if (remoteAddr!=b.remoteAddr)
00127 return remoteAddr<b.remoteAddr;
00128 else if (localAddr!=b.localAddr)
00129 return localAddr<b.localAddr;
00130 else if (remotePort!=b.remotePort)
00131 return remotePort<b.remotePort;
00132 else
00133 return localPort<b.localPort;
00134 }
|
|
|
|
|
|
|
|
|