Initiate a connection on a socket (via a SOCKS server)
#include <sys/types.h>
#include <sys/socket.h>
int Rconnect( int s,
const struct sockaddr * name,
int namelen);
The Rconnect() function is a cover function for connect(); the difference is that Rconnect() does its job via a SOCKS server.
For more information about SOCKS and its libraries, see the appendix, SOCKS — A Basic Firewall.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |