Searched defs:endpoint (Results 1 - 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
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} 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 DServerSocket.java321 * @param endpoint The IP address and 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 and 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 DSocket.java40 * "sockets"). A socket is an endpoint for communication
559 * @param endpoint the {@code SocketAddress}
564 * @throws IllegalArgumentException if endpoint is null or is a
569 public void connect(SocketAddress endpoint) throws IOException { argument
570 connect(endpoint, 0);
578 * @param endpoint the {@code SocketAddress}
585 * @throws IllegalArgumentException if endpoint is null or is a
590 public void connect(SocketAddress endpoint, int timeout) throws IOException { argument
591 if (endpoint == null)
603 if (!(endpoint instanceo
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java2108 public void connect(SocketAddress endpoint, int timeout)
3322 @Override public void connect(SocketAddress endpoint) throws IOException { delegate.connect(endpoint); } argument
3323 @Override public void connect(SocketAddress endpoint, int timeout) throws IOException { delegate.connect(endpoint, timeout); } argument

Completed in 26 milliseconds