tfMdnsGetLastError

Jump to: navigation, search

Table of Contents >> Application Reference >> Multicast_DNS_(mDNS)


#include <trsocket.h>


int tfMdnsGetLastError (ttMdnsServerPtr mdPtr);


Function Description

Use this function to retrieve the last error recorded in the mDNS server descriptor, or TM_ENOERROR if not set.



Parameters

  • mdPtr
    The mDNS server handle returned by a previous tfMdnsStart() call.


Returns

  • E ≥ 0
    The current last error value in the descriptor.
  • -1
    The mDNS server handle is invalid (no such entry in the global list of mDNS servers).


Table of Contents >> Application Reference >> Multicast_DNS_(mDNS)