Class EndPoint

Class Documentation

class EndPoint

Public Functions

EndPoint(std::string host, int port)
EndPoint(struct sockaddr_in &addr)
const std::string &getHost() const
int getPort() const
const sockaddr_in &getAddr() const
std::string toString() const
bool operator==(const EndPoint &rhs) const
bool operator!=(const EndPoint &rhs) const
bool operator<(const EndPoint &rhs) const