Lines Matching refs:port
103 * Returns a server socket bound to the specified port.
108 * method is called with the <code>port</code> argument as its
112 * @param port the port to listen to
117 * @throws IllegalArgumentException if the port parameter is outside the
118 * specified range of valid port values, which is between 0 and
123 public abstract ServerSocket createServerSocket(int port)
128 * Returns a server socket bound to the specified port, and uses the
137 * method is called with the <code>port</code> argument as its
141 * @param port the port to listen to
147 * @throws IllegalArgumentException if the port parameter is outside the
148 * specified range of valid port values, which is between 0 and
154 createServerSocket(int port, int backlog)
159 * Returns a server socket bound to the specified port,
174 * method is called with the <code>port</code> argument as its
178 * @param port the port to listen to
185 * @throws IllegalArgumentException if the port parameter is outside the
186 * specified range of valid port values, which is between 0 and
192 createServerSocket(int port, int backlog, InetAddress ifAddress)
215 public ServerSocket createServerSocket(int port)
218 return new ServerSocket(port);
221 public ServerSocket createServerSocket(int port, int backlog)
224 return new ServerSocket(port, backlog);
228 createServerSocket(int port, int backlog, InetAddress ifAddress)
231 return new ServerSocket(port, backlog, ifAddress);