Lines Matching defs:port
55 /** the port to connect to */
56 protected int port;
85 * Create a stream socket and connect it to the specified port on
88 * @param port the port
90 public HttpSendSocket(String host, int port, URL url) throws IOException
96 "host = " + host + ", port = " + port + ", url = " + url);
100 this.port = port;
108 * Create a stream socket and connect it to the specified port on
111 * @param port the port
113 public HttpSendSocket(String host, int port) throws IOException
115 this(host, port, new URL("http", host, port, "/"));
120 * the specified port.
122 * @param port the port
124 public HttpSendSocket(InetAddress address, int port) throws IOException
126 this(address.getHostName(), port);
246 * Get the remote port to which the socket is connected.
250 return port;
254 * Get the local port to which the socket is connected.
340 ",port=" + port +