• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
netService:didNotPublish: gets called with NSNetServicesErrorCode -65548
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

netService:didNotPublish: gets called with NSNetServicesErrorCode -65548


  • Subject: netService:didNotPublish: gets called with NSNetServicesErrorCode -65548
  • From: Martin Wilz <email@hidden>
  • Date: Thu, 5 Jan 2006 15:16:49 +0100

Hi,

toying around with the NSNetService class with code heavily inspired from
the Picture Sharing examples, I happen to get an error code in
the delegate method netService:didNotPublish:, that is neither documented
nor in the header file (NSNetServices.h)

The error dictionary looks the following.
{NSNetServicesErrorCode = -65548; NSNetServicesErrorDomain = 10; }

Does anybody knows, where I find information on this error code and what it
means ?

What I did:

I published a service, with

NSNetService *netService = [[NSNetService alloc] initWithDomain:@""
type:@"_my_generic_protocol._tcp." name:@"Test" port:4444];
[netService setDelegate:self];
[netService publish];

and ran the code on two systems on the same network. (Note there were no
services running at the given port)

Shouldn't I get a NSNetServicesCollisionError = -72001 in this scenario ?

Thanks,
Martin
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: netService:didNotPublish: gets called with NSNetServicesErrorCode -65548
      • From: Marc Krochmal <email@hidden>
  • Prev by Date: ProtoThreads
  • Next by Date: Re: MainMenu
  • Previous by thread: ProtoThreads
  • Next by thread: Re: netService:didNotPublish: gets called with NSNetServicesErrorCode -65548
  • Index(es):
    • Date
    • Thread