tfDeleteHost

Jump to: navigation, search

Table of Contents >> Application Reference >> DNS Resolver


#include <trsocket.h>


int tfDeleteHost (const char TM_FAR * hostnameStr);


Function Description

Remove the Hosts Table entry corresponding to the hostname specified.


Parameters

  • hostnameStr
    Name to associate with host address


Returns

  • TM_ENOERROR
    Success.
  • TM_EPERM
    Call tfDnsInit() first.
  • TM_EINVAL
    hostnameStr is NULL
  • TM_ENOENT
    The hostname was not found in the table.


Table of Contents >> Application Reference >> DNS Resolver