tfFreeHostEntry

Jump to: navigation, search

Table of Contents >> Application Reference >> DNS Resolver


#include <trsocket.h>


int tfFreeHostEntry (struct tsHostent TM_FAR * hostEntryPtr);


Function Description

Free the host entry data structure returned by tfGetHostByName() or tfGetHostByAddr().



Parameters


Returns

  • TM_ENOERROR
    Success.
  • TM_EPERM
    Call tfDnsInit() first.
  • TM_EINVAL
    The hostEntryPtr is NULL.


Table of Contents >> Application Reference >> DNS Resolver