Using T_MEMORYRELEASED with a synch UDP
Using T_MEMORYRELEASED with a synch UDP
- Subject: Using T_MEMORYRELEASED with a synch UDP
- From: Mark Thomas <email@hidden>
- Date: Wed, 19 Feb 2003 12:08:11 +0000
- Organization: Coderus Ltd
Hi,
I have been trying to get a T_MEMORYRELEASED message using a OTSndUData,
but everything I've tried doesn't seem to work, the docs say this whould
work, but it might be error ???.
I have checked that multiple calls and doesn't get it generated, or even
unbind, and releasing the endpoint doesn't have any effect.
I have also tried doing
::OTIoctl( endPoint, I_OTGetMiscellaneousEvents, (void*)1 );
But that didn't work either. Also tried maybe flushing endpoint
::OTIoctl(endPoint, I_FLUSH, (void *)FLUSHRW);
Any body have this working, or does it only work for connection oriented
calls ???. I've check this on both 9.x and X, and same behavior of nothing
being called.
Why an I doing this
I have a notifier, which is picking up UDP requests, but needs to build a
request (OTAlloc) and then send it back to the specified sender, I might do
this n times depending on the a synch OTRcvUData, I need to process, but I
cannot assume I think that each OTSndUData has executed yet, as I guess they
will be queued up until I exit the Notifier
Its also been pointed out that OTAlloc is quite limited in size, so not
endless. Even if I have a pre-allocated buffer for the OTSndUData, I still
need to know that I can reuse an entry.
(Unless OT copies the Data, but then this wouldn't make sense to have the
this message)
Any Ideas,
Mark.
_______________________________________________
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.