hello

i am having a hard time catching a bug in a small NSNetService based app i developed

all works as expected except that it crashes if i try to accees the menu after a connection is made i though i had tracked the issue being related to retain / release issues more specifically to typical bonjour [_server release]; when a connection is made by removing those the crash goes away but it also seems to disrupt bonjour network as it starts leaving server instances being advertised and just creates new ones


i have prepared a small sample app so anyone interested can check it out: http://www.silicon-studios.com/sample.zip

to test the issue, build the app

notice you can access the menu as usual

from the terminal type
dns-sd -B _testing._tcp local

and it will probably your own machine meaning the app is advertising its service

now type: telnet localhost:60000

it will say u are connected

if u check xcode console the app will say it is connected

if you now try to access the menu the app will now crash and no info about the cause on console

thank your for your attention


abraços

nonnus


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to