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

Discussion in 'Java' started by Greg, Aug 10, 2012.

  1. Greg

    Greg Guest

    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/38)
    --- Synchronet 3.16a-Win32 NewsLink 1.98
    Time Warp of the Future BBS - telnet://time.synchro.net:24
     
    Greg, Aug 10, 2012
    #1
    1. Advertisements

  2. 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
     
    Steven Simpson, Aug 17, 2012
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Neomorph

    Re: IllegalArgumentException

    Neomorph, Aug 14, 2003, in forum: Java
    Replies:
    2
    Views:
    596
    Neomorph
    Aug 15, 2003
  2. Dave Rudolf

    IllegalArgumentException from RMI

    Dave Rudolf, Nov 5, 2003, in forum: Java
    Replies:
    3
    Views:
    3,850
  3. Jean-Paul
    Replies:
    2
    Views:
    4,867
    Jean-Paul
    Feb 17, 2006
  4. Timothy Grant
    Replies:
    5
    Views:
    627
    Timothy Grant
    Aug 6, 2008
  5. Laszlo Nagy
    Replies:
    1
    Views:
    7,191
    Mark Wooding
    Jan 27, 2009
  6. Steve Holden
    Replies:
    1
    Views:
    997
  7. Greg
    Replies:
    4
    Views:
    515
    Steven Simpson
    Aug 16, 2012
  8. Guillaume Comte
    Replies:
    16
    Views:
    1,037
    Grant Edwards
    Aug 23, 2012
Loading...