• 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
Re: Service Lookup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Service Lookup


  • Subject: Re: Service Lookup
  • From: Mandip Chadha <email@hidden>
  • Date: Mon, 25 Mar 2002 15:53:31 +0900

Thanks by getting rid of that statement my NewNSLClientNotifyUPP is getting
called.

But there is another problem I am facing.

In my code I am installing a URL with the following piece of code:

error = NSLStandardRegisterURL("http://recosoft/23145678",neighborhood);

In my NewNSLClientNotifyUPP routine.

I am calling NSLGetNextUrl to get that URL exist, but the result of
NSLGetNextUrl does not return any URL. Also totalItems parameter in the
NSLClientAsyncInfo * structure that is passed to my NewNSLClientNotifyUPP
routine is 0.

My NewNSLClientNotifyUPP routine is similar to the MyNSLClientNotifier
routine that comes with the NSLMiniBrowser. I am only checking
kNSLServicesLookupDataEvent not kNSLNeighborhoodLookupDataEvent.



> From: Marc Krochmal <email@hidden>
> Date: Sat, 23 Mar 2002 13:27:07 -0800
> To: Mandip Chadha <email@hidden>
> Cc: email@hidden
> Subject: Re: Service Lookup
>
> Mandip,
>
> I forgot to tell you to remove the line...
>
> infoPtr->clientContextPtr = NULL;
>
> That's the actual cause of the -4176 error and was the reason why I told
> you to make sure entitiyObject wasn't NULL. The value that you pass
> into NSLPrepareRequest() is what ends up in
> infoPtr->clientContextPtr. I filed bug 2886211 regarding not being
> able to pass in a NULL contextPtr.
>
> -Marc
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • bind, connect, etc. and nonblocking mode
      • From: Zack Morris <email@hidden>
References: 
 >Re: Service Lookup (From: Marc Krochmal <email@hidden>)

  • Prev by Date: SystemConfiguration Help
  • Next by Date: data lost in AF_INET sockets?
  • Previous by thread: Re: Service Lookup
  • Next by thread: bind, connect, etc. and nonblocking mode
  • Index(es):
    • Date
    • Thread