• 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
Using T_MEMORYRELEASED with a synch UDP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Detecting Data has been Sent
  • Next by Date: Re: What's possible within a Notifier
  • Previous by thread: Re: Detecting Data has been Sent
  • Next by thread: error -3213
  • Index(es):
    • Date
    • Thread