Home | History | Annotate | Download | only in net

Lines Matching refs:getLocalHost

106         DatagramSocket ds = new DatagramSocket(0, InetAddress.getLocalHost());
109 .getLocalHost(), ds.getLocalAddress());
118 InetAddress.getLocalHost(), 0);
130 InetAddress inetAddress = InetAddress.getLocalHost();
146 InetAddress localHost = InetAddress.getLocalHost();
321 InetAddress inetAddress = InetAddress.getLocalHost();
338 InetAddress local = InetAddress.getLocalHost();
340 assertEquals(InetAddress.getByName(InetAddress.getLocalHost().getHostName()), ds.getLocalAddress());
360 theSocket.connect(InetAddress.getLocalHost(), portNumber);
594 InetAddress.getLocalHost(), 0));
598 .getLocalHost(), ds.getLocalAddress());
713 theSocket.bind(new InetSocketAddress(InetAddress.getLocalHost(), 0));
729 InetSocketAddress localAddress = new InetSocketAddress(InetAddress.getLocalHost(), 0);
737 InetSocketAddress localAddress1 = new InetSocketAddress(InetAddress.getLocalHost(), 0);
761 InetSocketAddress theAddress = new InetSocketAddress(InetAddress.getLocalHost(), 0);
767 theSocket2.bind(new InetSocketAddress(InetAddress.getLocalHost(), theSocket1.getLocalPort()));
779 InetSocketAddress theAddress = new InetSocketAddress(InetAddress.getLocalHost(), 0);
785 theSocket2.bind(new InetSocketAddress(InetAddress.getLocalHost(), theSocket1.getLocalPort()));
797 theAddress = new InetSocketAddress(InetAddress.getLocalHost(), 0);
801 theSocket2.bind(new InetSocketAddress(InetAddress.getLocalHost(), theSocket1.getLocalPort()));
902 .getLocalHost(), 0);