Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/r/rlisten.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/r/rlisten.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/r/rlisten.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/r/rlisten.html on line 8

Rlisten()

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

Synopsis:

#include <sys/socket.h>

int Rlisten( int s, 
             int backlog );

Arguments:

s
The descriptor for the socket that you want to listen on. You can create a socket by calling socket().
backlog
The maximum length that the queue of pending connections may grow to.

Library:

libsocks

Use the -l socks option to qcc to link against this library.

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 the appendix, 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() Raccept(), Rbind(), Rconnect(), Rgetsockname(), Rrcmd(), Rselect(), SOCKSinit()

SOCKS — A Basic Firewall


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/r/rlisten.html on line 142

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/r/rlisten.html on line 142