Lines Matching refs:getLocalHost
174 theSocket.bind(new InetSocketAddress(InetAddress.getLocalHost(), 0));
180 new InetSocketAddress(InetAddress.getLocalHost(), portNumber),
186 .getLocalHost(), 0);
191 .getLocalHost(), sport);
197 new InetSocketAddress(InetAddress.getLocalHost(), portNumber),
215 theAddress = new InetSocketAddress(InetAddress.getLocalHost(), 0);
260 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort());
333 theSocket.connect(new InetSocketAddress(InetAddress.getLocalHost(),
343 .getLocalHost(), server.getLocalPort());
362 boundAddress = new InetSocketAddress(InetAddress.getLocalHost(), server
433 theSocket.connect(new InetSocketAddress(InetAddress.getLocalHost(),
444 .getLocalHost(), server.getLocalPort());
464 .getLocalHost(), 42);
478 boundAddress = new InetSocketAddress(InetAddress.getLocalHost(), server
513 Socket client = new Socket(InetAddress.getLocalHost(), server
535 Socket client = new Socket(InetAddress.getLocalHost().getHostName(),
536 serverPort, InetAddress.getLocalHost(), 0);
543 .getLocalHost(), 0);
545 // check here if InetAddress.getLocalHost() is returning the
549 InetAddress.getLocalHost().isLoopbackAddress());
571 Socket client = new Socket(InetAddress.getLocalHost().getHostAddress(),
577 client = new Socket(InetAddress.getLocalHost().getHostName(),
588 Socket client = new Socket(InetAddress.getLocalHost(), server
605 Socket client = new Socket(InetAddress.getLocalHost(), server
606 .getLocalPort(), InetAddress.getLocalHost(), 0);
618 Socket client = new Socket(InetAddress.getLocalHost(), serverPort, true);
621 client = new Socket(InetAddress.getLocalHost(), serverPort, false);
661 Socket client = new Socket(InetAddress.getLocalHost(), server
665 .equals(InetAddress.getLocalHost()));
677 Socket client = new Socket(InetAddress.getLocalHost(), server
700 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort(), null, 0);
711 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort());
714 .equals(InetAddress.getLocalHost()));
729 Socket client = new Socket(InetAddress.getLocalHost(), server
742 Socket client = new Socket(InetAddress.getLocalHost(), server
747 new InetSocketAddress(InetAddress.getLocalHost(), clientPort),
760 client.bind(new InetSocketAddress(InetAddress.getLocalHost(), 0));
763 new InetSocketAddress(InetAddress.getLocalHost(), clientPort),
800 Socket client = new Socket(InetAddress.getLocalHost(), server
827 Socket pingClient = new Socket(InetAddress.getLocalHost(), sinkServer
890 Socket client = new Socket(InetAddress.getLocalHost(), serverPort);
900 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort());
917 Socket client = new Socket(InetAddress.getLocalHost(), serverPort);
920 new InetSocketAddress(InetAddress.getLocalHost(), serverPort),
927 theSocket.bind(new InetSocketAddress(InetAddress.getLocalHost(), 0));
932 theSocket.connect(new InetSocketAddress(InetAddress.getLocalHost(),
935 new InetSocketAddress(InetAddress.getLocalHost(), serverPort),
952 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort());
961 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort());
971 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort());
980 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort());
1006 Socket client = new Socket(InetAddress.getLocalHost(), server
1021 server.bind(new InetSocketAddress(InetAddress.getLocalHost(), 0));
1034 .getLocalHost(), 0);
1051 Socket client = new Socket(InetAddress.getLocalHost(), server
1082 Socket client = new Socket(InetAddress.getLocalHost(), server
1094 .getLocalHost(), 0);
1117 Socket client = new Socket(InetAddress.getLocalHost(), server
1154 Socket client = new Socket(InetAddress.getLocalHost(), server
1204 InetAddress localHost = InetAddress.getLocalHost();
1416 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort());
1440 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort());
1453 theSocket.bind(new InetSocketAddress(InetAddress.getLocalHost(), 0));
1472 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort());
1486 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort());
1496 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort());
1505 Socket client = new Socket(InetAddress.getLocalHost(), server .getLocalPort());
1547 Socket client = new Socket(InetAddress.getLocalHost(), port);
1590 Socket client = new Socket(InetAddress.getLocalHost(), port);
1627 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort());
1629 String expected = "Socket[address=" + InetAddress.getLocalHost()