Re: How to time speed of "write" on unix socket?
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.