Compare two endpoints for equality.
friend bool operator==( const basic_endpoint< InternetProtocol > & e1, const basic_endpoint< InternetProtocol > & e2);
Header: asio/ip/basic_endpoint.hpp
Convenience header: asio.hpp