Searched refs:endpoint (Results 1 - 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
H A DServerSocket.java321 * @param endpoint The IP address & port number to bind to.
326 * @throws IllegalArgumentException if endpoint is a
330 public void bind(SocketAddress endpoint) throws IOException { argument
331 bind(endpoint, 50);
348 * @param endpoint The IP address & port number to bind to.
355 * @throws IllegalArgumentException if endpoint is a
359 public void bind(SocketAddress endpoint, int backlog) throws IOException { argument
364 if (endpoint == null)
365 endpoint = new InetSocketAddress(0);
366 if (!(endpoint instanceo
[all...]
H A DSocksSocketImpl.java262 InetSocketAddress endpoint,
264 if (!(endpoint.getAddress() instanceof Inet4Address)) {
269 out.write((endpoint.getPort() >> 8) & 0xff);
270 out.write((endpoint.getPort() >> 0) & 0xff);
271 out.write(endpoint.getAddress().getAddress());
290 external_address = endpoint;
313 * Connects the Socks Socket to the specified endpoint. It will first
316 * further traffic will go to the "real" endpoint.
318 * @param endpoint the <code>SocketAddress</code> to connect to.
323 * @throws IllegalArgumentException if endpoint i
261 connectV4(InputStream in, OutputStream out, InetSocketAddress endpoint, long deadlineMillis) argument
327 connect(SocketAddress endpoint, int timeout) argument
[all...]
H A DSocket.java41 * "sockets"). A socket is an endpoint for communication
543 * @param endpoint the <code>SocketAddress</code>
548 * @throws IllegalArgumentException if endpoint is null or is a
553 public void connect(SocketAddress endpoint) throws IOException { argument
554 connect(endpoint, 0);
562 * @param endpoint the <code>SocketAddress</code>
569 * @throws IllegalArgumentException if endpoint is null or is a
574 public void connect(SocketAddress endpoint, int timeout) throws IOException { argument
575 if (endpoint == null)
587 if (!(endpoint instanceo
[all...]

Completed in 260 milliseconds