Lines Matching refs:port

134      * at the specified remote port.  This socket is configured using
138 * method is called with the host address and <code>port</code>
143 * @param port the server port
149 * @throws IllegalArgumentException if the port parameter is outside the
150 * specified range of valid port values, which is between 0 and
155 public abstract Socket createSocket(String host, int port)
161 * on the specified remote port.
162 * The socket will also be bound to the local address and port supplied.
167 * method is called with the host address and <code>port</code>
172 * @param port the server port
174 * @param localPort the local port the socket is bound to
180 * @throws IllegalArgumentException if the port parameter or localPort
181 * parameter is outside the specified range of valid port values,
187 createSocket(String host, int port, InetAddress localHost, int localPort)
192 * Creates a socket and connects it to the specified port number
197 * method is called with the host address and <code>port</code>
201 * @param port the server port
206 * @throws IllegalArgumentException if the port parameter is outside the
207 * specified range of valid port values, which is between 0 and
213 public abstract Socket createSocket(InetAddress host, int port)
219 * on the specified remote port. The socket will also be bound
220 * to the local address and port suplied. The socket is configured using
224 * method is called with the host address and <code>port</code>
228 * @param port the server port
230 * @param localPort the client port
235 * @throws IllegalArgumentException if the port parameter or localPort
236 * parameter is outside the specified range of valid port values,
244 createSocket(InetAddress address, int port,
268 public Socket createSocket(String host, int port)
271 return new Socket(host, port);
274 public Socket createSocket(InetAddress address, int port)
277 return new Socket(address, port);
280 public Socket createSocket(String host, int port,
284 return new Socket(host, port, clientAddress, clientPort);
287 public Socket createSocket(InetAddress address, int port,
291 return new Socket(address, port, clientAddress, clientPort);