dev  

Re: sendfile in darwin

William A. Rowe, Jr.
Tue, 13 May 2008 13:29:29 -0700

Jim Jagielski wrote:

I wonder if you are seeing timing issues rather than "real" errors...

  ./sendfile server &
  ./sendfile client timeout

I get

>   Waiting for a client to connect...
>   Processing a client...

and then failure.

>   Creating a test file...
>   Sending the file...

are client messages.  However, this could be either 1. timing errors,
or 2. unusual EINTR or other signal noise.

Bill