tfHttpcUserBind

Jump to: navigation, search

Table of Contents >> Application Reference >> Web Client


#include <trsocket.h>


int tfHttpcUserBind (
ttHttpcUserConHandle conHandle,
const struct sockaddr * addressPtr,
int addressLength,
int flags
);


Function Description

This function executes the BSD bind() API on the socket associated with the given connection handle.


Parameters

  • conHandle
    HTTP Client connection handle
  • addressPtr
    See bind() documentation
  • addressLength
    See bind() documentation
  • flags
    Unused


Returns

  • TM_EINVAL
    Invalid HTTP Client connection handle
  • Other
    See bind() documentation


Table of Contents >> Application Reference >> Web Client