Rbind()

bind a name to a socket (via a SOCKS server)

Synopsis:

#include <sys/types.h>
#include <sys/socket.h>

int Rbind( int s, 
           const struct sockaddr *name, 
           int namelen );

Description:

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 Appendix A: SOCKS - A Basic Firewall.

Returns:

0
Success.
-1
An error occurred; errno is set.

Classification:

SOCKS

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

bind(), Appendix A: SOCKS - A Basic Firewall.