• 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(2): Question on sending data over UDP endpoints
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re(2): Question on sending data over UDP endpoints


  • Subject: Re(2): Question on sending data over UDP endpoints
  • From: "Peter Lovell" <email@hidden>
  • Date: Thu, 1 Jul 2004 16:35:29 -0400

Hi Igor,
>... ICMP message is 36
>bytes long. Here I have 56. What are those 20 bytes all about? maybe,
>this is the IP header of this ICMP message itself?
That could be it (don't have my references to hand here).

>>> Should I call OTRcvUDErr before calling OTCloseProvider?
>>> What should I do with the ICMP message apparently pertaining to this
>>> endpoint, which I have already read? Maybe, I should peek at this
>>> ICMP data
>>> without actually reading it into my buffer? Will this ensure that a
>>> higher-level protocol will receive it and take appropriate action
>>> (like
>>> calling my notifier routine with T_UDERR code)?

It's a while since I worked in detail with OT but I wonder about your
timer. I think that's called in a callback(notifier) and it might not be
legal to close the provider at that point. You may have to mark an error
on the endpoint and do the close in the main code -- check OT docs to be sure.

Regards.....Peter
_______________________________________________
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.


References: 
 >Re: Question on sending data over UDP endpoints (From: Igor garnov <email@hidden>)

  • Prev by Date: Re: Question on sending data over UDP endpoints
  • Next by Date: Wise? Stupid? Somewhere in between? Thinkin' out loud...
  • Previous by thread: Re: Question on sending data over UDP endpoints
  • Next by thread: Re: Question on sending data over UDP endpoints
  • Index(es):
    • Date
    • Thread