iPhone SDK: Bonjour & NSNetService name != published name?
- by Harkonian
In my iPhone app, I'm publishing a bonjour service and using the following delegate method:
- (void)netServiceDidPublish:(NSNetService *)ns
{
NSLog(@"Bonjour Service Published: http://%@.%@", [ns name], [ns domain]);
}
The "name" property is returning the device name, "How's Testing", which is correct. However, when I use Safari to discover…