Bind a name to a socket (via a SOCKS server)
#include <sys/types.h> #include <sys/socket.h> int Rbind( int s, const struct sockaddr * name, int namelen );
libsocks
Use the -l socks option to qcc to link against this library.
The Rbind() function is a cover function for bind() — the difference is that Rbind() 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 |
bind() Raccept(), Rconnect(), Rgetsockname(), Rlisten(), Rrcmd(), Rselect(), SOCKSinit()