Re: Sockets slow on Macintosh
Re: Sockets slow on Macintosh
- Subject: Re: Sockets slow on Macintosh
- From: Tron Thomas <email@hidden>
- Date: Thu, 07 Apr 2005 18:09:32 -0700
Thanks Vincent. That made a big difference. I applied the TCP_NODELAY
option on both the client and the server. The run time for the programs
dropped from a minute and a half to just over 11 seconds, which is a BIG
improvement.
Vincent Lubet wrote:
When sending small messages to emulate transactions, you have to use
the socket option TCP_NODELAY - see man page tcp(4).
Vincent
On Apr 5, 2005, at 3:39 PM, Tron Thomas wrote:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden