accept


Description:

[ CCode ( cname = "FCGX_Accept_r" ) ]
public int accept ()

Accept a new request

Thread-safe.

Finishes the request accepted by (and frees any storage allocated by) the previous call. Creates input, output, and error streams and assigns them to in, out, and err respectively. Creates a parameters data structure.

DO NOT retain pointers to the envp or any strings contained in it, since these will be freed by the next call or a call to finish.

Returns:

0 for successful call, -1 for error.