Compare two endpoints for equality.
friend bool operator==( const basic_endpoint< InternetProtocol > & e1, const basic_endpoint< InternetProtocol > & e2);