Lines Matching refs:port
57 private int port;
199 int port = ((in.read() & 0xff) << 8);
200 port += (in.read() & 0xff);
211 dest = new Socket(addr, port);
229 out.write((port >> 8) & 0xff);
230 out.write(port & 0xff);
406 int port = 0;
447 port = ((in.read()&0xff) << 8);
448 port += (in.read()&0xff);
450 InetSocketAddress socAddr = new InetSocketAddress(addr, port);
488 public SocksServer(int port, boolean v4) throws IOException {
489 this(port);
493 public SocksServer(int port) throws IOException {
494 this.port = port;
496 if (port == 0) {
498 this.port = server.getLocalPort();
500 server.bind(new InetSocketAddress(port));
513 return port;