[Previous] [Contents] [Index] [Next]

Raccept()

Accept a connection on a socket (via a SOCKS server)

Synopsis:

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

int Raccept( int s, 
             struct sockaddr * addr, 
             int * addrlen );

Library:

socks3r.lib, socks3s.lib

Description:

The Raccept() function is a cover function for accept() - the difference is that Raccept() does its job via a SOCKS server.

For more information about SOCKS and its libraries, see Appendix A: SOCKS - A Basic Firewall.

Returns:

A descriptor for the accepted socket, or -1 if an error occurs (errno is set).

Classification:

SOCKS

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

accept()

Appendix A: SOCKS - A Basic Firewall


[Previous] [Contents] [Index] [Next]