On Thu, 9 Nov 2006, Ken Hornstein wrote:

- You really want to make sure the header and bulk data end up in one
 TCP frame.  If you utilize sendfile(), it isn't possible to guarantee
 that because you'll have to do two seperate operations: one write() to
 do the header data, then the sendfile() call to move the bulk data (right
 now writev() is used so header data and bulk data get coalesced into one
 TCP frame).

I think it should be possible to achieve the same result with sendfile() and TCP_CORK. This may be for Linux only however.


--
[EMAIL PROTECTED]
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to