tfMdnsGetData

Jump to: navigation, search

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


#include <trsocket.h>


ttUserVoidPtr tfMdnsGetData (ttMdnsServerPtr mdPtr);


Function Description

Use this function to retrieve a pointer set via tfMdnsSetData().



Parameters

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


Returns

  • ptr
    The user data pointer stored in the mDNS server descriptor, if one was set with tfMdnsSetData().
  • NULL
    The value is NULL (if set to NULL or never set), or the mDNS server handle is invalid (no such entry in the global list of mDNS servers).


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