NSNetServiceBrowser cannot find any service, the delegate method does not seems to be called

I am using NSNetServiceBrowser to browse bonjour service. The service is started successfully, however, I am facing an issue while browsing the service. When I make the call searchForServicesOfType:inDomain, only the netServiceBrowserWillSearch delegate method is called. No other delegate method is called and I cant find any service. The answer seems to be given by this guy here, NSNetServiceBrowser not finding services that exist but I cant understand what does he actually means (see part 2 of the answer). The author of the question solved the problem but he didnt elaborated. Please tell me why the other delegate methods like netServiceBrowser:didFindService:moreComing: are not called Thanks in anticipation.

Answers


Need Your Help

jQuery .post() and dynamically specifying the return type

jquery asp.net-mvc json post return-type

I have the following $.post() function that expects JSON as its return value.

Color coded picking problem in OpenGL

c++ opengl picking mouse-picking

I am making a game, actually a very basic replica of Minecraft, for a class project of mine. I'm stuck in the picking process right now, which would enable me to destroy and create blocks in the game

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.