Home | History | Annotate | Download | only in net

Lines Matching refs:port

142      * at the specified remote port.  This socket is configured using
146 * method is called with the host address and <code>port</code>
151 * @param port the server port
157 * @throws IllegalArgumentException if the port parameter is outside the
158 * specified range of valid port values, which is between 0 and
163 public abstract Socket createSocket(String host, int port)
169 * on the specified remote port.
170 * The socket will also be bound to the local address and port supplied.
175 * method is called with the host address and <code>port</code>
180 * @param port the server port
182 * @param localPort the local port the socket is bound to
188 * @throws IllegalArgumentException if the port parameter or localPort
189 * parameter is outside the specified range of valid port values,
195 createSocket(String host, int port, InetAddress localHost, int localPort)
200 * Creates a socket and connects it to the specified port number
205 * method is called with the host address and <code>port</code>
209 * @param port the server port
214 * @throws IllegalArgumentException if the port parameter is outside the
215 * specified range of valid port values, which is between 0 and
221 public abstract Socket createSocket(InetAddress host, int port)
227 * on the specified remote port. The socket will also be bound
228 * to the local address and port suplied. The socket is configured using
232 * method is called with the host address and <code>port</code>
236 * @param port the server port
238 * @param localPort the client port
243 * @throws IllegalArgumentException if the port parameter or localPort
244 * parameter is outside the specified range of valid port values,
252 createSocket(InetAddress address, int port,
276 public Socket createSocket(String host, int port)
279 return new Socket(host, port);
282 public Socket createSocket(InetAddress address, int port)
285 return new Socket(address, port);
288 public Socket createSocket(String host, int port,
292 return new Socket(host, port, clientAddress, clientPort);
295 public Socket createSocket(InetAddress address, int port,
299 return new Socket(address, port, clientAddress, clientPort);