3

How to write TCP IP socket programming in java. If the client is behind any type of proxy (may be http or socks or no proxy).

Thanks Bapi

3
  • This is too general to answer. Commented Mar 31, 2009 at 7:28
  • Thanks for your information, Still I need your help. I have created TCP IP socket program that works fine if there is no proxy but it didnot work fine if there is proxy. So please clarify my problem Commented Mar 31, 2009 at 7:35
  • Exact duplicate of stackoverflow.com/questions/700161/… Commented Mar 31, 2009 at 7:50

1 Answer 1

1

When I faced such kind of problem I had to code myself http layer (over HTTP CONNECT) and used existing (in standard library) socks layer. However the main problem is to get the proxy settings. As far as I was doing it for a Web Start application, I could use default browser settings.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.