tfHttpcUserClose

Jump to: navigation, search

Table of Contents >> Application Reference >> Web Client


#include <trsocket.h>


int tfHttpcUserClose (
ttHttpcUserConHandle conHandle,
int flags
);


Function Description

Close the socket and free the HTTP client connection structure. This API must not be called more than once for a given HTTP client connection.



Parameters

  • conHandle
    HTTP client connection handle
  • flags
    Currently unused.


Returns

  • TM_ENOERROR
    Successful
  • TM_EINVAL
    Invalid handle


Table of Contents >> Application Reference >> Web Client