Lines Matching refs:endpoint
262 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 is null or a
327 protected void connect(SocketAddress endpoint, int timeout) throws IOException {
338 if (endpoint == null || !(endpoint instanceof InetSocketAddress))
340 InetSocketAddress epoint = (InetSocketAddress) endpoint;