Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Re: IllegalArgumentException with Socket API and Proxy with Proxy.Type.

Reply
Thread Tools

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

 
 
Greg
Guest
Posts: n/a
 
      08-10-2012
To: Greg
From: Greg <>

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. 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


The code pretty extensively relies on the sockets interface.

--- BBBS/Li6 v4.10 Dada-1
* Origin: Prism bbs (1:261/3
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24
 
Reply With Quote
 
 
 
 
Steven Simpson
Guest
Posts: n/a
 
      08-17-2012
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/3
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IllegalArgumentException with Socket API and Proxy with Proxy.Type.HTTP Greg Java 4 08-16-2012 08:26 PM
Re: IllegalArgumentException with Socket API and Proxy with Proxy.Type. Steven Simpson Java 0 07-30-2012 07:00 PM
Re: IllegalArgumentException with Socket API and Proxy with Proxy.Type. Knute Johnson Java 0 07-30-2012 07:00 PM
Re: IllegalArgumentException with Socket API and Proxy with Proxy.Type. Knute Johnson Java 0 07-29-2012 07:19 PM
Re: IllegalArgumentException with Socket API and Proxy with Proxy.Type. Knute Johnson Java 0 07-29-2012 06:16 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57