The ArcHttp method transfers the HTTP data between the web browser and the RAID subsystem.
virtual ARC_STATUS ArcHttp
( char
*pClientHttpData, int nClientHttpDataSize, char *pRaidReturnHttp, int *nRaidReturnSize ); |
[IN]
pClientHttpData: HTTP data from web
browser ( HTML format )
nClientHttpDataSize: The length of the pClientHttpData.
[OUT]
pRaidReturnHttp: The HTTP data returned from RAID subsystem.
nRaidReturnSize:
The length of the pRaidReturnHttp.
This method returns the ARC_STATUS.
The sequences of
transferring.
1. Setup the sockets for waiting connection
from remote side.
2. Receive the HTTP data from remote side.
3. Pass the received data and length into ArcHttp method.
4. Send the HTTP data returned from RAID
subsystem back to remote side.