Searched defs:bind (Results 1 - 21 of 21) sorted by relevance

/libcore/luni/src/main/java/java/nio/
H A DServerSocketChannelImpl.java123 @Override public void bind(SocketAddress localAddress, int backlog) throws IOException { method in class:ServerSocketChannelImpl.ServerSocketAdapter
124 super.bind(localAddress, backlog);
166 @Override public void bind(SocketAddress localAddress) throws IOException { method in class:ServerSocketChannelImpl.ServerSocketAdapter
167 super.bind(localAddress);
H A DDatagramChannelImpl.java529 * @see java.net.DatagramSocket#bind(java.net.SocketAddress)
532 public void bind(SocketAddress localAddr) throws SocketException { method in class:DatagramChannelImpl.DatagramSocketAdapter
536 super.bind(localAddr);
H A DSocketChannelImpl.java541 public void bind(SocketAddress localAddr) throws IOException { method in class:SocketChannelImpl.SocketAdapter
548 super.bind(localAddr);
/libcore/luni/src/main/java/java/net/
H A DDatagramSocketImpl.java50 * the port on the localhost to bind.
52 * the address on the multihomed localhost to bind.
57 protected abstract void bind(int port, InetAddress addr) throws SocketException; method in class:DatagramSocketImpl
H A DSocketImpl.java81 * the local machine address to bind this socket to.
83 * the port on the local machine to bind this socket to.
87 protected abstract void bind(InetAddress address, int port) throws IOException; method in class:SocketImpl
H A DDatagramSocket.java74 * the port to bind on the localhost.
89 * the port to bind on the localhost.
91 * the address to bind on the localhost.
135 impl.bind(aPort, addr);
385 * the local machine address and port to bind to.
404 bind(localAddr);
422 impl.bind(0, Inet4Address.ANY);
433 * the local machine address and port to bind on.
440 public void bind(SocketAddress localAddr) throws SocketException { method in class:DatagramSocket
457 impl.bind(localPor
[all...]
H A DPlainDatagramSocketImpl.java67 @Override public void bind(int port, InetAddress address) throws SocketException { method in class:PlainDatagramSocketImpl
68 IoBridge.bind(fd, address, port);
H A DServerSocket.java101 impl.bind(addr, port);
274 * the local address and port to bind on.
281 public void bind(SocketAddress localAddr) throws IOException { method in class:ServerSocket
282 bind(localAddr, DEFAULT_BACKLOG);
290 * @param localAddr the local machine address and port to bind on.
298 public void bind(SocketAddress localAddr, int backlog) throws IOException { method in class:ServerSocket
319 impl.bind(addr, port);
H A DPlainSocketImpl.java48 // For SOCKS support. A SOCKS bind() uses the last
149 @Override protected void bind(InetAddress address, int port) throws IOException { method in class:PlainSocketImpl
150 IoBridge.bind(fd, address, port);
277 // server during the bind.
350 * Perform an accept for a SOCKS bind.
394 // There must be a connection to an application host for the bind to work.
399 // Use the last connected address and port in the bind request.
H A DSocket.java96 * the address on the local host to bind to.
98 * the port on the local host to bind to.
168 * the address on the local host to bind to.
170 * the port on the local host to bind to.
240 * the address on the local host to bind to.
242 * the port on the local host to bind to.
543 * the address on the local machine to bind.
545 * the port on the local machine to bind.
547 * thrown if an error occurs during the bind or connect
564 impl.bind(add
741 public void bind(SocketAddress localAddr) throws IOException { method in class:Socket
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DOldDatagramSocketImplFactoryTest.java134 protected void bind(int arg0, InetAddress arg1) throws SocketException { method in class:OldDatagramSocketImplFactoryTest.TestDatagramSocketImpl
H A DOldSocketImplFactoryTest.java129 protected void bind(InetAddress arg0, int arg1) throws IOException { method in class:OldSocketImplFactoryTest.MockSocketImpl
H A DOldServerSocketTest.java59 theSocket.bind(theAddress);
183 ss2.bind(new InetSocketAddress("127.0.0.1", 4343));
352 protected void bind(InetAddress arg0, int arg1) throws IOException { method in class:OldServerSocketTest.MockSocketImpl
H A DOldDatagramSocketTest.java1071 protected void bind(int arg0, InetAddress arg1) throws SocketException {}
1252 // now create a socket that is not bound and then bind it
1264 ds.bind(localAddress2);
1288 theSocket.bind(null);
1294 // Address we cannot bind to
1298 theSocket.bind(new InetSocketAddress(badAddress, Support_PortManager.getNextPortForUDP()));
1312 theSocket1.bind(theAddress);
1313 theSocket2.bind(theAddress);
1330 theSocket.bind(new mySocketAddress());
1662 // connect causes implicit bind
2025 protected void bind(int arg0, InetAddress arg1) throws SocketException { method in class:OldDatagramSocketTest.TestDatagramSocketImpl
[all...]
H A DOldSocketTest.java254 s.bind(new InetSocketAddress(InetAddress.getByName("0.0.0.0"), 0));
673 // now bind the socket and make sure we get the right answer
674 theSocket.bind(new InetSocketAddress(InetAddress.getLocalHost(), 0));
681 s.bind(new InetSocketAddress(InetAddress.getByName("0.0.0.0"), 0));
689 s.bind(new InetSocketAddress(InetAddress.getByName("0.0.0.0"), 0));
711 theSocket.bind(new InetSocketAddress(InetAddress.getLocalHost(), 0));
751 // now test when we bind explicitly
755 theSocket.bind(null);
821 // Address we cannot bind to
824 theSocket.bind(ne
2201 protected void bind(InetAddress arg0, int arg1) throws IOException { method in class:OldSocketTest.MockSocketImpl
[all...]
/libcore/crypto/src/main/java/org/conscrypt/
H A DOpenSSLSocketImplWrapper.java54 public void bind(SocketAddress sockaddr) throws IOException { method in class:OpenSSLSocketImplWrapper
H A DSSLSocketWrapper.java75 public void bind(SocketAddress sockaddr) throws IOException { method in class:SSLSocketWrapper
/libcore/luni/src/main/java/libcore/io/
H A DIoBridge.java73 public static void bind(FileDescriptor fd, InetAddress address, int port) throws SocketException { method in class:IoBridge
75 // Linux won't let you bind a link-local address without a scope id. Find one.
78 throw new SocketException("Can't bind to a link-local address without a scope id: " + address);
87 Libcore.os.bind(fd, address, port);
H A DForwardingOs.java40 public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException { os.bind(fd, address, port); } method in class:ForwardingOs
H A DOs.java31 public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException; method in interface:Os
H A DPosix.java34 public native void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException; method in class:Posix

Completed in 483 milliseconds