Connecting via a SOCKS proxy

nigeljohnson73
Posts: 1
Joined: Wed Oct 06, 2021 6:36 am

Connecting via a SOCKS proxy

Postby nigeljohnson73 » Wed Oct 06, 2021 6:43 am

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?

Who is online

Users browsing this forum: Majestic-12 [Bot] and 86 guests