FCGX_Init();
sock = FCGX_OpenSocket(socketName, 5);
for (FCGX_InitRequest(&request, sock, 0); // Init FCGX Operation
FCGX_Accept_r(&request) >= 0;
)
{
res = handle_request(&request);
FCGX_SetExitStatus(510, request.err);
FCGX_SetExitStatus(510, request.out);
FCGX_SetExitStatus(510, request.in);
FCGX_Finish_r(&request);
}