initialize a connection with a SOCKS server
#include <sys/select.h> int SOCKSinit( char *progname );
The SOCKSinit() function initializes some defaults for the SOCKS library and also sets the program name that will appear in the syslog output.
You don't have to call this function before making a SOCKS library call (but if you don't, a generic ``SOCKSclient'' will appear instead of the program name).
For more information about SOCKS and its libraries, see Appendix A: SOCKS - A Basic Firewall.
SOCKS
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
Raccept(), Rbind(), Rconnect(), Rgetsockname(), Rlisten(), Rrcmd(), Rselect(), Appendix A: SOCKS - A Basic Firewall.