Searched defs:localAddr (Results 1 - 6 of 6) sorted by relevance

/libcore/luni/src/main/java/java/net/
H A DServerSocket.java283 * backlog of 50 unaccepted connections. If the {@code localAddr} is set to
287 * @param localAddr
295 public void bind(SocketAddress localAddr) throws IOException { argument
296 bind(localAddr, DEFAULT_BACKLOG);
301 * {@code localAddr} is set to {@code null} the socket will be bound to an
304 * @param localAddr the local machine address and port to bind on.
312 public void bind(SocketAddress localAddr, int backlog) throws IOException { argument
319 if (localAddr == null) {
323 if (!(localAddr instanceof InetSocketAddress)) {
325 localAddr
[all...]
H A DDatagramSocket.java405 * by the {@code SocketAddress} {@code localAddr} or an unbound {@code
408 * @param localAddr
415 public DatagramSocket(SocketAddress localAddr) throws SocketException { argument
416 if (localAddr != null) {
417 if (!(localAddr instanceof InetSocketAddress)) {
419 localAddr.getClass());
421 checkPort(((InetSocketAddress) localAddr).getPort());
426 if (localAddr != null) {
428 bind(localAddr);
453 * localAddr}
464 bind(SocketAddress localAddr) argument
[all...]
H A DSocket.java755 * the SocketAddress {@code localAddr}. If {@code localAddr} is set to
759 * @param localAddr
767 public void bind(SocketAddress localAddr) throws IOException { argument
775 if (localAddr == null) {
779 if (!(localAddr instanceof InetSocketAddress)) {
781 localAddr.getClass());
783 InetSocketAddress inetAddr = (InetSocketAddress) localAddr;
/libcore/luni/src/main/java/java/nio/
H A DDatagramChannelImpl.java537 public void bind(SocketAddress localAddr) throws SocketException { argument
541 super.bind(localAddr);
H A DSocketChannelImpl.java541 public void bind(SocketAddress localAddr) throws IOException { argument
548 super.bind(localAddr);
/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java2993 @Override public void bind(SocketAddress localAddr) throws IOException { argument
2994 delegate.bind(localAddr);

Completed in 87 milliseconds