Mailing Lists: Apple Mailing Lists

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

Re: Forcing a refresh of found services



>Is there any way to force Rendezvous to refresh its service list more
>frequently then the TTL allows?
>  --Brian

This kind of assembly-line testing is a fairly specialized scenario,
and as such, a fairly specialized solution may be appropriate.

I'd suggest starting with the Darwin mDNSResponder code,
and modifying it to make a test tool.

<http://developer.apple.com/darwin/projects/rendezvous/>

In fact, the test tool you want may already be there. In the mDNSPosix 
folder, type "make os=panther" and you can then use the mDNSClientPosix
tool to query your printer directly, completely bypassing the system's 
mDNSResponder and its cache.

You should NOT use this approach in any shipping product, because it can 
be very hard on the network, but in a factory assembly-line environment 
it may be just what you need.

Stuart Cheshire <email@hidden>
 * Wizard Without Portfolio, Apple Computer, Inc.
 * www.stuartcheshire.org
_______________________________________________
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.