X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finet6.h;fp=source%2Finet6.h;h=0000000000000000000000000000000000000000;hb=50e9f9ea7f7385a2c5931fca2b8fb1103078e67c;hp=cc33e764936e4dbaaa4df8311774f6132407bbff;hpb=21c596567e3b6fd794ed6af73d304ce2bc70e58f;p=libs%2Fnet.git diff --git a/source/inet6.h b/source/inet6.h deleted file mode 100644 index cc33e76..0000000 --- a/source/inet6.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef MSP_NET_INET6_H_ -#define NSP_NET_INET6_H_ - -#include "sockaddr.h" - -namespace Msp { -namespace Net { - -class Inet6Addr: public SockAddr -{ -private: - unsigned char addr[16]; - unsigned port; - -public: - Inet6Addr(); - Inet6Addr(const SysAddr &); - - virtual Inet6Addr *copy() const { return new Inet6Addr(*this); } - - virtual SysAddr to_sys() const; - - virtual Family get_family() const { return INET6; } - unsigned get_port() const { return port; } - virtual std::string str() const; -}; - -} // namespace Net -} // namespace Msp - -#endif