[Previous] [Contents] [Next]

Rlisten()

Listen for connections on a socket (via a SOCKS server)

Synopsis:

#include <sys/socket.h>

int Rlisten( int s, 
             int backlog );

Library:

libsocks

Description:

The Rlisten() function is a cover function for listen() -- the difference is that Rlisten() 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:
Cancellation point No
Interrupt handler No
Signal handler No
Thread No

See also:

listen()

Appendix A: SOCKS -- A Basic Firewall


[Previous] [Contents] [Next]