Starts the interception of TCP data connections for a previously configured Fast Response Cache Accelerator (FRCA) instance.
FRCA Library (libfrca.a)
#include <frca.h>
int32_t FrcaCtrlStart ( FrcaHandle);
int32_t * FrcaHandle;
The FrcaCtrlStart subroutine starts the interception of TCP data connections for an FRCA instance. If the FRCA instance cannot handle the data on that connection, it passes the data to the user-level application that has established the listen socket.
The only FRCA instance type that is currently supported handles static GET requests as part of the Hypertext Transfer Protocol (HTTP).
FrcaHandle | Identifies the FRCA instance on which this operation is performed. |
0 | The subroutine completed successfully. |
-1 | The subroutine failed. The global variable errno is set to indicate the specific type of error. |
ENOENT | The FrcaHandle parameter is invalid. |
ENOTREADY | The FRCA control instance is in an undefined state. |
ENOTSOCK | A TCP listen socket that was passed in with the FrcaCtrlCreate cannot be intercepted because it does not exist. |
The FrcaCacheCreate subroutine, the FrcaCacheDelete subroutine, the FrcaCacheLoadFile subroutine, the FrcaCacheUnloadFile subroutine, the FrcaCtrlCreate subroutine, the FrcaCtrlDelete subroutine, the FrcaCtrlLog subroutine, the FrcaCtrlStop subroutine.