-/* $Id$
-
-This file is part of libmspnet
-Copyright © 2011 Mikkosoft Productions, Mikko Rasa
-Distributed under the LGPL
-*/
-
#ifndef MSP_NET_INET6_H_
#define NSP_NET_INET6_H_
Inet6Addr(const sockaddr_in6 &);
Inet6Addr(unsigned char [16], in_port_t);
+ virtual Inet6Addr *copy() const { return new Inet6Addr(*this); }
+
virtual Family get_family() const { return INET6; }
virtual std::string str() const;
virtual unsigned fill_sockaddr(sockaddr &) const;
virtual unsigned fill_sockaddr(sockaddr_storage &) const;
-
- virtual Inet6Addr *copy() const { return new Inet6Addr(*this); }
};
} // namespace Net