RSP_newParseRemote

Name

RSP_newParseRemote -- Sets up internal structures for parsing history data from a History Listener.

Synopsis

RSP_parseData* RSP_newParseRemote(char* szHost, int iPort, int iTimeout);

Description

This function will setup a new RSP_parseData structure which may be passed to any of the other parse functions. If szHost is not an IP address then a DNS lookup will be performed. There are three functions which will collect data. At that time a connection will be made to the History Listener specified by the host and port given to this function. The three functions are:

See these functions for more details. Also RSP_remoteUseSSL may be called to have SSL communication be used for all connections.

Returns

This function will return a new RSP_parseData structure. Be sure to call RSP_parseDelete to free this structure when you are done with it.

Error Conditions

If an error occurs with this function, NULL is returned and rsp_error is set appropriately. Possible error values are: