I'm not positive, but I don't think you can mix and match
CFNetServiceRegister with CFNetServiceSetTXTData. If you want to use
CFNetServiceSetTXTData, then you should use
CFNetServiceRegisterWithOptions.
Hope that helps.
-Marc
On Jun 30, 2005, at 5:06 AM, Tomas Franzén wrote:
Hi,
I can't get CFNetServiceSetTXTData to work.
If I call it before CFNetServiceRegister, my app crashes when
calling CFNetServiceRegister with this in console.log:
If I instead call 'SetTXTData after 'ServiceRegister, nothing
crashes, but the TXT records are not broadcasted.
I have tried both creating the TXT data with
CFNetServiceCreateTXTDataWithDictionary, and creating it myself.
Both conform to the specs, and look fine.
So my question is: How do I set TXT records with the CFNetService API?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bonjour-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/bonjour-dev/email@hidden