#120 operator== for SocketAddress

open
nobody
Net (11)
5
2012-09-14
2009-12-22
Anonymous
No

One should be able to compare 2 SocketAddresses:

bool operator==(SocketAddress a, SocketAddress b){
return ((a.host() == b.host()) && (a.port() == b.port()));
}

Discussion

  • fixed in 1.4.2