• 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
Re: Sockets slow on Macintosh
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Sockets slow on Macintosh (From: Tron Thomas <email@hidden>)
 >Re: Sockets slow on Macintosh (From: Vincent Lubet <email@hidden>)

  • Prev by Date: How to get data after an ordrel request?
  • Next by Date: Connect Fails , Port is not open
  • Previous by thread: Re: Sockets slow on Macintosh
  • Next by thread: QTunnel-Sample
  • Index(es):
    • Date
    • Thread