Ads by TechWords
Subscribe to our e-mail newsletters
For more info on a specific newsletter, click the title. Details will be displayed in a new window.
Computerworld Daily News (First Look and Wrap-Up)
Computerworld Blogs Newsletter
The Weekly Top 10
More E-Mail Newsletters 

mDNSrResponder in iPhone suggests Bonjour synching?

Rate this
Rated -1
343 Votes

Having a look around the iPhone filesystem with James O'Brien's new AFP hack called AFPd, I noticed a lot of references to mDNS. mDNS also goes by the name of Zeroconf or Bonjour (formerly Rendezvous) in Apple products. It is primarily used to connect computers in a network without much configuration - hence the name.

Apple uses this function to help set up printers, to let people iChat, to easily allow computers to network and to connect devices to iTunes. Currently, the iPhone doesn't take advantage of any Bonjour services but it is obviously being worked on if Apple engineers left the code in there. The iPhone OS was stripped of all but very essential parts of the OSX operating system. If there are files in the OS they are - or will be - used.

So what will it be used for?

Will we be able to print from the iPhone? I am not so sure this is a high priority for Apple. Some people would certainly like this function but as a whole, people are moving away from printing out files. Especially if you can take them with you and reference them on a device like the iPhone.

iChat? I hope so. I didn't believe the pundits who said that Apple was keeping iChat off the iPhone because it was making money off of SMS's. I also figured they'd have iChat on the street by now. Now I am not so sure this isn't a money thing for Apple. Yes, Apple should put iChat on the iPhone and use Bonjour to do it. Will they? dunno.

Networking? Sure. AFPd is great but so much more can be done with Bonjour including sharing files to other users on a WAN. The new Social anyone?

Most likely mDNS will be used to function with iTunes - where Apple really goes crazy with Bonjour. Bonjour connects iTunes with Airport Express to pump out music over the network. iTunes also uses Bonjour to communicate with AppleTV to share movies. Bonjour is used to connect iTunes to different libraries on other computers on the same network as well.

Extrapolating slightly, it is easy to see how Apple could sync iTunes with the iPhone over Bonjour. Just like it pumps data to other devices. It could also allow you to use your Mac or server as a mediacenter to play tunes or watch movies all around the house. It is really just a matter of when.

What else could these files be used for? Maybe it helps with the Starbucks Store?

What People Are Saying

Rate this
Rated +4
336 Votes

Nope

This article is extremely inaccurate.

Bonjour is made for a LAN, not a WAN. If you are discussing the relatively new WAN Bonjour, you should expressly say so.

Further more, you need to be specific about where you are finding this references to mDNS. Apple has publicly stated that the iPhone was adapted from Mac OS X. They are not going to waste valuable person-hours stripping code unless there is a good reason for it.

I'm sure if GREPed iPhone OS you could find references to everything from Classic Support to NEXT. There are millions of lines of legacy code in the OS dating right back to its BSD origins.

Are you also aware that AFP for iPhone includes a *hack* to enable this ability? I hope you are basing this article on the code outside the /Opt folder ... if you aren't you should be aware that you have been looking at code the hacker included, not Apple.

Rate this
Rated +6
368 Votes

what?!

Wow Anonymous Coward - you are an idiot. Extremely inaccurate?

Where does it reference a WAN? - all the things that the article references are LAN.

AS YOU CAN SEE IN THE PICTURE, there are FILES (not references in files) that are CALLED mDNSresponder and Process ID in var/run!

and I think the author would know that it is a hack if it is on his his or her iPhone.

what's the motivation to come to a site, and make up a bunch of mean spirited bs?

Rate this
Rated +15
347 Votes

the iPhone/iPod touch could

the iPhone/iPod touch could also be used as an intelligent interactive remote control for an Apple Mediacenter.