tfFreeHostEntry
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
- hostEntryPtr
- Pointer to a host entry data structure as returned by tfGetHostByName() or tfGetHostByAddr().
Returns
- TM_ENOERROR
- Success.
- TM_EPERM
- Call tfDnsInit() first.
- TM_EINVAL
- The hostEntryPtr is NULL.