• 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: OTNotifier in shared libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OTNotifier in shared libraries


  • Subject: Re: OTNotifier in shared libraries
  • From: Quinn <email@hidden>
  • Date: Mon, 27 Jan 2003 10:25:10 +0000

At 8:21 -0800 24/1/03, Roy Lovejoy wrote:
Wrapping the OTSndUData() with DCon dprintf's, and putting dprintfs in the
OTNotifier, I would have expected a trace like:

Before OTSndUData()
Inside OTNotifier() - got T_DATA
After OTSndUData()

but I don't.. sometimes the "Inside OTNotifier()" is after many other OT calls
and in our case, too darn late.

What execution context are these OTSndUData calls being executed in? Are they running at system task time?

Have you checked to make sure that the T_DATA isn't being held off by another notification? If the destination endpoint's notifier is already running, OT will not reenter it to delivered a T_DATA.

In the destination endpoint's notifier, do you keep calling OTRcvUData until all the data has been received (ie you get a kOTNoDataErr)? If not, OT will assume that the receive side is flow controlled and not send you another T_DATA until you complete the existing read.

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
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: 
 >OTNotifier in shared libraries (From: Roy Lovejoy <email@hidden>)

  • Prev by Date: Re: OTNotifier in shared libraries
  • Next by Date: Re: MoreAuthSample
  • Previous by thread: Re: OTNotifier in shared libraries
  • Next by thread: Re: OTNotifier in shared libraries
  • Index(es):
    • Date
    • Thread