[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 |
Hi,
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 http://tfuj.pl/gnokii/nonblockingsocket.patch 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,
pkot
--
Pawel Kot
- nonblocking read, Pawel Kot, 2007/11/10
- Re: nonblocking read, Baurzhan Ismagulov, 2007/11/11
- Re: nonblocking read, Pawel Kot, 2007/11/11
- Re: nonblocking read, Baurzhan Ismagulov, 2007/11/12
- Re: nonblocking read, Pawel Kot, 2007/11/12
- Re: nonblocking read, Ladislav Michl, 2007/11/14
- Re: nonblocking read, Pawel Kot, 2007/11/14
- Re: nonblocking read, Baurzhan Ismagulov, 2007/11/14
- Re: nonblocking read, Pawel Kot, 2007/11/15
- Re: nonblocking read, Pawel Kot, 2007/11/12