On Mon, 8 Nov 1999, pramodh mallipatna wrote:
> Hi,
>
> I had a question regarding non-blocking read in a TCP socket program.
> I have the code below.
>
> The non-blocking code works, but, I see that the "perror("Read");" in my
> server returns "Resource temporarily unavailable" instead of "success".
> Is this normal?
Yep, check for EAGAIN as the normal 'error' on a blocking read.
- James.
--
James Morris
<[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]