|
|
|
@ -80,7 +80,6 @@ class CNetAddr
|
|
|
|
|
bool GetInAddr(struct in_addr* pipv4Addr) const;
|
|
|
|
|
std::vector<unsigned char> GetGroup() const;
|
|
|
|
|
int GetReachabilityFrom(const CNetAddr *paddrPartner = NULL) const;
|
|
|
|
|
void print() const;
|
|
|
|
|
|
|
|
|
|
CNetAddr(const struct in6_addr& pipv6Addr);
|
|
|
|
|
bool GetIn6Addr(struct in6_addr* pipv6Addr) const;
|
|
|
|
@ -145,7 +144,6 @@ class CService : public CNetAddr
|
|
|
|
|
std::string ToString() const;
|
|
|
|
|
std::string ToStringPort() const;
|
|
|
|
|
std::string ToStringIPPort() const;
|
|
|
|
|
void print() const;
|
|
|
|
|
|
|
|
|
|
CService(const struct in6_addr& ipv6Addr, unsigned short port);
|
|
|
|
|
CService(const struct sockaddr_in6& addr);
|
|
|
|
|