Java tcp ip socket, regardless of proxy type

How to write programming TCP IP sockets in java. If the client is behind any proxy server (can be http or socks or without a proxy).

Thanks Bapita

+3
source share
1 answer

When I encountered such a problem, I had to encode my http level (via HTTP CONNECT) and use the existing sock layer (in the standard library). However, the main problem is to get proxy settings. As far as I did this for the Web Start application, I could use the default browser settings.

+1
source

Source: https://habr.com/ru/post/1705627/


All Articles