OTSnd buffer size
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.