tfMdnsGetState

Jump to: navigation, search

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


#include <trsocket.h>


int tfMdnsGetState (ttMdnsServerPtr mdPtr);


Function Description

Use this function to retrieve current state of the mDNS server. The server states can be found in trsocket.h with names TM_MDNS_S_...



Parameters

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


Returns

  • S ≥ 0
    The current state, S.
  • -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)