Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #16654

Re: IllegalArgumentException with Socket API and Proxy with Proxy.Type.

From "Knute Johnson" <knute.johnson@1:261/38.remove-rf4-this>
Subject Re: IllegalArgumentException with Socket API and Proxy with Proxy.Type.
Message-ID <5016CF43.55625.calajapr@time.synchro.net> (permalink)
Newsgroups comp.lang.java.programmer
Date 2012-07-30 19:00 +0000
Organization tds.net

Show all headers | View raw


  To: Greg
From: "Knute Johnson" <knute.johnson@1:261/38.remove-pvc-this>

  To: Greg
From: "Knute Johnson" <knute.johnson@1:261/38.remove-5bm-this>

  To: Greg
From: Knute Johnson <nospam@rabbitbrush.frazmtn.com>

On 7/26/2012 10:00 AM, Greg wrote:
> I am trying to create a socket with the proxy type of HTTP.  Every
> time the socket is created an IllegalArgumentException is thrown.  I
> have learned from googling that the HTTP proxy is unsupported in
> sockets.  What is the work around?  Does anyone know?  Any help would
> be much appreciated as there doesn't seem to be an answer readily
> available that I can find.
>
> Greg
>

You can set up proxies in the Java Control Panel.

-+- BBBS/Li6 v4.10 Dada-1
 + Origin: Prism bbs (1:261/38)
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

-+- BBBS/Li6 v4.10 Dada-1
 + Origin: Prism bbs (1:261/38)
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

--- BBBS/Li6 v4.10 Dada-1
 * Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread


Thread

Re: IllegalArgumentException with Socket API and Proxy with Proxy.Type. "Knute Johnson" <knute.johnson@1:261/38.remove-rf4-this> - 2012-07-30 19:00 +0000

csiph-web