BSD socket performance problem
BSD socket performance problem
- Subject: BSD socket performance problem
- From: Larry Gerndt <email@hidden>
- Date: Thu, 03 Apr 2003 21:53:00 -0800
I'm noticing that the receive data stream in my application is sporadic in
terms of speed, when running on OS X using the BSD socket API (synchronous
blocking). I'm comparing against the same application when run under OS 9
using OTMP (also synchronous blocking). My application receives an image as
a series of tiles, and as I watch each tile getting drawn to the screen,
under OTMP it's always very smooth and quick, and the speed is consistent.
Under OS X using the socket API, the first few tiles are often coming in at
a much slower speed, and then something snaps (or not) and the rest come in
fast. Sometimes nothing snaps, so they all come in slow, sometimes only the
first tile is slow, etc.
I really don't know where to begin to solve this problem. Does anything
come to mind? Just FYI, to rule out data processing glitches, I tried just
ignoring the data completely, but still the slowness persists.
--
Larry Gerndt
AIM Handle: thesonofmannn
Let the truth be told though the heavens fall -- James Garrison
_______________________________________________
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.