Re(2): Question on sending data over UDP endpoints
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.