-#ifdef WIN32
-#include <winsock2.h>
-#include <ws2tcpip.h>
-#else
-#include <netinet/in.h>
-#endif
+#include "platform_api.h"
#include <msp/strings/format.h>
#include "inet6.h"
#include "sockaddr_private.h"
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);