• 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: How to time speed of "write" on unix socket?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to time speed of "write" on unix socket?


  • Subject: Re: How to time speed of "write" on unix socket?
  • From: Quinn <email@hidden>
  • Date: Tue, 27 Jan 2004 10:41:54 +0000

At 15:10 -0800 25/1/04, Larry Gerndt wrote:
By the way, I just want to confirm that I now have
the correct understanding about what "write" does on a blocking socket: It
will only block if the local TCP output buffer is full. Otherwise, it
simply copies the data to the TCP output buffer and returns. Is that
correct?

Yes. The size of the outgoing buffer is actually a socket option, SO_SNDBUF.

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
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.

References: 
 >Re: How to time speed of "write" on unix socket? (From: Larry Gerndt <email@hidden>)

  • Prev by Date: Re: BSD equivalent of OTInetGetInterfaceInfo
  • Next by Date: Re: Endpoint state - T_OUTCON
  • Previous by thread: Re: How to time speed of "write" on unix socket?
  • Next by thread: How to tell wireless from wired ethernet interfaces?
  • Index(es):
    • Date
    • Thread