> On Jun 29, 2015, at 10:30 AM, Victor Fernandez <[email protected]> 
> wrote:
> NSString *url=[NSString stringWithFormat:@"http://%@:59840/% 
> <http://%@:59840/%>@",ip,bucketNameConfigStr];
> ...
> [self.listener setBonjourName:url type:serviceType];

That’s a weird use of the service name: it’s supposed to be human-readable 
since it tends to show up in browseable lists. If you’re trying to communicate 
the listener’s URL to clients that are browsing, that’s not the right way to do 
it — instead the client should resolve the service and use the resolved 
hostname. (My P2P sample app shows how to do this.)

I think that “:” and “/“ are valid characters in the service name, but maybe 
not; that could explain why your service doesn’t get published.

Also, have you used an app like Bonjour Browser to verify that the service 
isn’t published?

—Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/2CCBE366-40B1-4F53-9430-3F52D48AEF63%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to