Socket.SOCKS (sockets v2.1.7)

Copy Markdown

Lets you connect to a remote host through a SOCKS proxy.

Instead of connecting directly, you route your connection through a SOCKS server that forwards traffic on your behalf — useful when direct access is blocked or you need to tunnel through a firewall. Though only SOCKS4 is implemented at this time.

Summary

Functions

connect(to, through, options \\ [])

connect!(to, through)

connect!(to, through, options)