Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit4.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!53ab2750!not-for-mail From: "Steven Simpson" Subject: Re: IllegalArgumentException with Socket API and Proxy with Proxy.Type. Message-ID: <50327C35.57127.calajapr@time.synchro.net> X-Comment-To: Greg Newsgroups: comp.lang.java.programmer X-FTN-AREA: COMP.LANG.JAVA.PROGRAMMER X-FTN-MSGID: 1:261/38 1b4d7adf Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.16a-Win32 NewsLink 1.98] Lines: 62 Date: Mon, 20 Aug 2012 18:58:24 GMT NNTP-Posting-Host: 69.21.70.65 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1345489104 69.21.70.65 (Mon, 20 Aug 2012 13:58:24 CDT) NNTP-Posting-Date: Mon, 20 Aug 2012 13:58:24 CDT Organization: tds.net Xref: csiph.com comp.lang.java.programmer:18202 To: Greg From: "Steven Simpson" To: Greg From: "Steven Simpson" To: Greg From: "Steven Simpson" To: Greg From: "Steven Simpson" To: Greg From: "Steven Simpson" To: Greg From: Steven Simpson On 09/08/12 21:40, Greg wrote: > On Thursday, July 26, 2012 10:00:23 AM UTC-7, 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. > The code pretty extensively relies on the sockets interface. Can you define 'pretty extensively', i.e. enumerate the methods which are used, and in what sequences? If this is sufficiently simple, and you can modify the code, some refactoring to use your own abstraction of the socket ought to be possible. -- ss at comp dot lancs dot ac dot uk -+- 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 -+- 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