tfHttpcUserExecute

Jump to: navigation, search

Table of Contents >> Application Reference >> Web Client


#include <trsocket.h>


int tfHttpcUserExecute (ttHttpcUserConHandle conHandle);


Function Description

When the HTTP client APIs are used in non-blocking mode, this API should be called periodically to check the socket connection status, sending status, and receiving status. It notifies the user of events by calling client event handler.



Parameters

  • conHandle
    HTTP client connection handle


Returns

  • TM_ENOERROR
    Successful.
  • TM_EINVAL
    Invalid parameter.
  • TM_EPERM
    The operation is not permitted.



Table of Contents >> Application Reference >> Web Client