Lines Matching defs:Net
31 import java.net.*;
38 import sun.net.NetHooks;
107 this.fd = Net.socket(true);
122 this.localAddress = Net.localAddress(fd);
135 this.localAddress = Net.localAddress(fd);
152 return Net.getRevealedLocalAddress(localAddress);
180 if (!Net.isIPv6Available())
181 Net.setSocketOption(fd, StandardProtocolFamily.INET, name, value);
184 Net.useExclusiveBind())
192 Net.setSocketOption(fd, Net.UNSPEC, name, value);
212 Net.useExclusiveBind())
220 return (Net.isIPv6Available()) ? (T) Integer.valueOf(0) :
221 (T) Net.getSocketOption(fd, StandardProtocolFamily.INET, name);
225 return (T) Net.getSocketOption(fd, Net.UNSPEC, name);
604 new InetSocketAddress(0) : Net.checkAddress(local);
606 Net.bind(fd, isa.getAddress(), isa.getPort());
607 localAddress = Net.localAddress(fd);
643 InetSocketAddress isa = Net.checkAddress(sa);
669 n = Net.connect(fd,
698 localAddress = Net.localAddress(fd);
706 localAddress = Net.localAddress(fd);
792 localAddress = Net.localAddress(fd);
809 Net.shutdown(fd, Net.SHUT_RD);
826 Net.shutdown(fd, Net.SHUT_WR);
1016 sb.append(Net.getRevealedLocalAddressAsString(addr));