tfMdnsSetData
Table of Contents >> Application Reference >> Multicast_DNS_(mDNS)
| #include <trsocket.h> |
| int tfMdnsSetData | ( |
| ttMdnsServerPtr mdPtr, | |
| ttUserConstVoidPtr user | |
| ); |
Function Description
Use this function to associate a block of data with your mDNS server. Each call replaces the previous value in the descriptor. The pointer is NULL, initially. Use tfMdnsGetData() to retrieve the pointer.
Parameters
- mdPtr
- The mDNS server handle returned by a previous tfMdnsStart() call.
- user
- The pointer value to store in the mDNS server descriptor.
Returns
- TM_ENOERROR
- Success.
- TM_EINVAL
- The mDNS server handle is invalid (no such entry in the global list of mDNS servers).
Table of Contents >> Application Reference >> Multicast_DNS_(mDNS)