Page 1 of 1

Connecting via a SOCKS proxy

Posted: Wed Oct 06, 2021 6:43 am
by nigeljohnson73
Is there a way/library/bit of code that I can use to connect to a site through a SOCKS proxy?

If I use client.connect() and then use it directly I get an error from my proxy complaining that it is not an HTTP proxy.

If I wrap the client connection in the http.begin() call and use an HTTPClient, the same thing happens.

I need a way of connecting to a service using the socks5h protocol.

Is this possible?