• 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
OTSnd buffer size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OTSnd buffer size


  • Subject: OTSnd buffer size
  • From: Michael Wu <email@hidden>
  • Date: Mon, 28 Oct 2002 22:53:56 -0500

What will be a "default" or close to "default" buffer size when I use the OTSnd call?

For example, if I have a large file (over 5 MB) and use connection-oriented base endingpoints, I tried 16K, 32K and 64K buffer size. It seems that I got more -3161 (kOTFlowErr) often on 16K other than 64K buffer size on a 10 Mbps network and almost no error on 100 Mbps network. Sometime, the -3161 took a while (more than few seconds) to clear when I have the T_GODATA callback event.

This is running a classic app on OS 10.2, OS 10.1. and OS 9.2.2.

I am using:

result = OTSnd(gConnectEndPoint, bufHandle+offset, bufferSize, T_MORE );

Thanks for any suggestion and help...

Michael Wu
_______________________________________________
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: Jaguar and PPPLIB
  • Next by Date: Re: Jaguar and PPPLIB
  • Previous by thread: Re: Disposing of streams from within their callback?
  • Next by thread: net-snmp and 10.2
  • Index(es):
    • Date
    • Thread