On Mon, 8 Nov 1999, pramodh mallipatna wrote:

> Hi,
> 
> Could you please elaborate? also, is it "blocking read" or "non-blocking
> read"?

Sorry, I meant non-blocking.


> 
> Thanks,
> Pramodh
> 
> On Tue, 9 Nov 1999, James Morris wrote:
> 
> > 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]
> > 
> 
> 

--
James Morris
<[EMAIL PROTECTED]>


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to