port = htons(sai6.sin6_port);
}
+Inet6Addr Inet6Addr::wildcard(unsigned port)
+{
+ Inet6Addr addr;
+ addr.port = port;
+ return addr;
+}
+
+Inet6Addr Inet6Addr::localhost(unsigned port)
+{
+ Inet6Addr addr;
+ addr.addr[15] = 1;
+ addr.port = port;
+ return addr;
+}
+
SockAddr::SysAddr Inet6Addr::to_sys() const
{
SysAddr sa;