Lines Matching refs:sport
86 int sport = startServer("Cons String,I");
90 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport);
92 assertTrue("Failed to create socket", s.getPort() == sport);
98 Socket s = sf.createSocket("bla-bla", sport);
138 int sport = startServer("Cons InetAddress,I");
142 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport);
144 assertTrue("Failed to create socket", s.getPort() == sport);
182 int sport = startServer("Cons InetAddress,I,InetAddress,I");
186 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport,
189 assertTrue("1: Failed to create socket", s.getPort() == sport);
207 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport,
218 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport,
240 int sport = startServer("Cons String,I,InetAddress,I");
244 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport,
247 assertTrue("1: Failed to create socket", s.getPort() == sport);
255 Socket s = sf.createSocket("bla-bla", sport, InetAddress.getLocalHost(), portNumber);
275 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport,