]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/inet6.cpp
Check for EOF return before checking for errors
[libs/net.git] / source / net / inet6.cpp
index 77d757082379f70e713d7587bbf0d61df675ff75..758005860582dc968ef2064e6d2047e19376fe5c 100644 (file)
@@ -1,6 +1,6 @@
+#include "inet6.h"
 #include "platform_api.h"
 #include <msp/strings/format.h>
-#include "inet6.h"
 #include "sockaddr_private.h"
 
 using namespace std;
@@ -8,12 +8,6 @@ using namespace std;
 namespace Msp {
 namespace Net {
 
-Inet6Addr::Inet6Addr():
-       port(0)
-{
-       fill(addr, addr+16, 0);
-}
-
 Inet6Addr::Inet6Addr(const SysAddr &sa)
 {
        const sockaddr_in6 &sai6 = reinterpret_cast<const sockaddr_in6 &>(sa.addr);