[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nonblocking read

From: Pawel Kot
Subject: Re: nonblocking read
Date: Sun, 11 Nov 2007 16:00:02 +0100


On Nov 11, 2007 2:00 PM, Pawel Kot <address@hidden> wrote:
> Hi,
> On Nov 11, 2007 1:57 PM, Pawel Kot <address@hidden> wrote:
> > > > I tried but it makes
> > > > open() not working well (open() in our case should be blocking).

BTW. I lied here. It's socket, so we do socket(), connect() and not open().

> > > This is interesting. What does "not working well" mean? I've used
> > > non-blocking I/O for serial devices and TCP sockets without problems.
> >
> > I got "Operation now in progress" from connect() in bluetooth case.
> BTW. When I move it after connect(), read() never succeeds.

Hm. I was doing something wrong. When I move it after connect() it
actually works.

take care,
Pawel Kot

reply via email to

[Prev in Thread] Current Thread [Next in Thread]