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: Deployment on Windows client



Hi Kiren,

With respect to TS, and how our stuff got installed in the first place, of course the IT group at a customer site would look after that. The point is that in many customer deployments (for us), the IT people are extremely an*l about installing anything that touches 1000 or more desktops. Demonstrating that our "little client app" does not impact anything else running on the system is one thing, but saying that "oh, by the way, we need to install a system service too" would be a hard sell indeed.

While I totally get the argument that a common service can do really smart things as far as caching goes, and would have to pay that price if we embed, the bug fix point doesn't really impact us because, in reality, there will not be anything else on our customer client desktops that would use Bonjour. And if "embed" means having it all in one DLL that can be easily revved, I am not too concerned about deployment issues like that.

In digging more deeply into the code, I note that there is a way to build everything so that the service is bypassed using, I believe, dnssd_clientshim.c. This allows me to use the official header files in dns-sd.h, but without the RPC bits. Is there some documentation on how all that comes together, beyond the header files?

-- tomo

"Don't think you are. Know you are." - Morpheus


Kiren Sekar wrote:
There are several compelling reasons for Bonjour to be a system  service, instead of being embedded in applications.  The greatest  benefit is that Bonjour uses aggressive caching to reduce network  traffic.  If every application uses its own cache, this benefit is  reduced.  In addition, Bonjour coalesces announcements for service  registrations into single messages to reduce the packet rate.  This  is not possible if each app has its own copy.  Also, if future  versions of the system service are released, all applications benefit  from the increased performance, bug fixes, new features, etc.   Without a common system service, each app would have to rev.

On Jun 10, 2005, at 7:19 AM, Tom Otvos wrote:

I would like to second Krzys' concerns here. In our case, having a  system service be installed on client workstations would be near  impossible to justify with our customers. In some cases, the client  machines are running Terminal Server sessions, and the hoops we  have to jump through to get anything installed is, well...


If the clients are running terminal sessions, how did your software  get installed in the first place?  Is there a reason that Bonjour  couldn't be installed in the same manner?


Nonetheless, when you say it is "possible but not recommended", are  we looking at a whole lot of pain to make it happen because that  was a configuration you had not considered? Or will it be rather  straightforward? It looks like the dnssd DLL uses sockets to talk  to the local service -- would there be major code hacking involved  to short-circuit all this in a self-contained binary?


You can check out the mDNSResponder code from Darwin and add it  directly into your app, and it will work (though less efficiently),  even if the system service was installed by another application.   This would require a moderate amount of work, and is more error prone  than using the supported APIs, but the option is available if you  absolutely cannot use the system service.

Regards,
Kiren


-- 
-- Tom Otvos

"Don't think you are. Know you are." - Morpheus
 _______________________________________________
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

This email sent to email@hidden


 _______________________________________________
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

This email sent to email@hidden

References: 
 >Re: Deployment on Windows client (From: Tom Otvos <email@hidden>)
 >Re: Deployment on Windows client (From: Kiren Sekar <email@hidden>)



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.