#include <Protocol.h>
Public Member Functions | |
unsigned long | operator() (Address const &a) const |
|
Definition at line 50 of file Protocol.h. References ACE_RMCast::Address, ACE_INET_Addr::get_ip_address(), and ACE_INET_Addr::get_port_number().
00051 { 00052 unsigned long port (a.get_port_number ()); 00053 unsigned long ip (a.get_ip_address ()); 00054 00055 port <<= sizeof (unsigned long) - sizeof (unsigned short); 00056 00057 return port ^ ip; 00058 } |