Lines Matching refs:InetAddress
26 import java.net.InetAddress;
63 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport);
75 sf.createSocket(InetAddress.getLocalHost().getHostName(), invalidPorts[i]);
82 sf.createSocket(InetAddress.getLocalHost().getHostName(), s.getLocalPort());
89 f.createSocket(InetAddress.getLocalHost().getHostName(), 8082);
100 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport);
106 sf.createSocket(InetAddress.getLocalHost(), invalidPorts[i]);
113 sf.createSocket(InetAddress.getLocalHost(), s.getLocalPort());
120 f.createSocket(InetAddress.getLocalHost(), 8081);
131 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport,
132 InetAddress.getLocalHost(), 0);
139 sf.createSocket(InetAddress.getLocalHost(), invalidPorts[i],
140 InetAddress.getLocalHost(), portNumber);
146 sf.createSocket(InetAddress.getLocalHost(), sport,
147 InetAddress.getLocalHost(), invalidPorts[i]);
154 sf.createSocket(InetAddress.getLocalHost(), sport,
155 InetAddress.getLocalHost(), portNumber);
162 f.createSocket(InetAddress.getLocalHost(), 8081, InetAddress.getLocalHost(), 8082);
170 * InetAddress localHost, int localPort)
177 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport,
178 InetAddress.getLocalHost(), 0);
183 sf.createSocket("bla-bla", sport, InetAddress.getLocalHost(), 0);
190 sf.createSocket(InetAddress.getLocalHost().getHostName(), invalidPorts[i],
191 InetAddress.getLocalHost(), 0);
196 sf.createSocket(InetAddress.getLocalHost().getHostName(), sport,
197 InetAddress.getLocalHost(), invalidPorts[i]);
204 sf.createSocket(InetAddress.getLocalHost().getHostName(), 8081, InetAddress.getLocalHost(), 8082);
217 s = sf.createSocket(InetAddress.getLocalHost().getHostName(), 8082);
222 s = sf.createSocket(InetAddress.getLocalHost().getHostName(), 8081, InetAddress.getLocalHost(), 8082);
227 s = sf.createSocket(InetAddress.getLocalHost(), 8081);
232 s = sf.createSocket(InetAddress.getLocalHost(), 8081, InetAddress.getLocalHost(), 8082);
251 public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
257 public Socket createSocket(InetAddress host, int port) throws IOException {
262 public Socket createSocket(InetAddress address, int port,
263 InetAddress localAddress, int localPort) throws IOException {