Searched refs:localAddress (Results 1 – 5 of 5) sorted by relevance
28 private final LocalSocketAddress localAddress; field in LocalServerSocket47 localAddress = new LocalSocketAddress(name); in LocalServerSocket()48 impl.bind(localAddress); in LocalServerSocket()66 localAddress = impl.getSockAddress(); in LocalServerSocket()76 return localAddress; in getLocalSocketAddress()
34 private LocalSocketAddress localAddress; field in LocalSocket151 localAddress = bindpoint; in bind()152 impl.bind(localAddress); in bind()163 return localAddress; in getLocalSocketAddress()
133 private Socket connectToHost(String host, int port, SocketAddress localAddress) in connectToHost() argument141 if (localAddress != null) socket.bind(localAddress); in connectToHost()157 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket() argument160 socket.bind(new InetSocketAddress(localAddress, localPort)); in createSocket()
292 final InetAddress localAddress, in connectSocket() argument307 if ((localAddress != null) || (localPort > 0)) { in connectSocket()314 new InetSocketAddress(localAddress, localPort); in connectSocket()
104 InetAddress localAddress, in connectSocket() argument