Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem when destroying a service



Hello,

I'm trying to make a thread that publishes a service and another one that finds the services. When I start the service, it is found by the other thread and I can resolve the address without problem. However, when the service is killed, I receive this error message in the console:

[mDNSWin32] Deregistering interface << ERROR: Must specify address size (i.e. %.
4a=IPv4, %.6a=Ethernet, %.16a=IPv6) >> with mDNS


My application then terminates correctly but the thread that was supposed to detect the termination of the service didn't detect it. When I kill the service, I call mDNS_DeregisterService and mDNS_Close. Is there something else to do? Theses calls were effective with an old version of Rendezvous. Now, I need to update it and it doesn't seem to work with the new version.

Also, I have this assert message at the beginning, maybe it has something to do with the error I encounter:

[ASSERT] assert: "n > 0"
[ASSERT] where: "\dossier_ecole\Stage\Rendezvous\Windows\mDNSWin32.c", line 180
6, "ProcessingThread"


Note that the program continue and doesn't seem to complaint anymore about that error.

I'm working with Visual Studio .NET 2003

Thanks a lot for your help!

Frederic Drolet
_______________________________________________
rendezvous mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/rendezvous
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.