iphone - Error resolving a NSNetService -


i'm creating board game played via wi-fi, in iphone.

when device invites device b play(try resolve nsnetservice published b), device b can accept or decline.

if b declines, notified , fine. if try invite b again later, following error in netservice:didnotresolve: delegate method.

nsnetserviceserrorcode = -72003 nsnetserviceserrordomain = 10

the error -72003 means nsnetservicesactivityinprogress...how can proceed let 1 player "invite" other player more once ?

i'm using asynchsocket libray, thanks!

ok, figure out.

what i'm doing resolve nsnetservice quick possible in browserdidfind: delegate method. when need connect call [socket connecttoaddress:], passing nsnetservice address, no more errors!

thanks!


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -