cfsockets vs OT
cfsockets vs OT
- Subject: cfsockets vs OT
- From: "tuviah snyder" <email@hidden>
- Date: Sat, 27 Dec 2003 15:08:40 -0500
We just ported our socket code to use BSD sockets instead of Open Transport.
We're using CFSockets with non blocking BSD sockets and they seem to work
well (I wish that read callbacks wouldn't fire with 0 length data but I've
managed to work around it).
I've read that performance should be better with BSD sockets than OT;
however our little test app which fetches data from a URL using the HTTP
protocol 20-30 times async using CFSockets..takes about twice the time than
it does with OT async. Oddly enough performance improves when I move the
cursor around the screen rapidly, or install multiple timers, ect (could be
a runloop thing I guess). Any suggestions to improve performance? I'm
thinking that the callbacks are not being fired fast enough, but would like
to avoid polling.
Tuviah Snyder
Runtime Revolution, Ltd
_______________________________________________
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.