Skip to content
Advertisement

Tag: socks

Java ProxySelector undefined behaviour

I am experimenting with Proxies in java networking. I have read the documentation regarding them and am currently testing ProxySelector. I notice 2 types of behaviour of this ProxySelector when using with HttpURLConnection & when using with Socket class When using with HttpUrlConnection with this code I get the expected output This makes sense because ports 5000 & 8000 are

Advertisement