This month's Index
Subject: Re: block,non-block on same connection
Re: block,non-block on same connection
From: Peter Stuge <peter_at_stuge.se>
Date: Sat, 2 Jan 2010 04:31:00 +0100
Daniel Stenberg wrote:
Or I could use select() together with blocking I/O.
> That's not something libssh2 has invented, it's a well known and
Yes, and that is true also for blocking I/O with select(). For me
> Why is this a problem at all?
The problem is that libssh2 design makes it impossible to use
If you doubt that blocking is impossible in the direct_tcpip.c
> If we wanted to, we could provide a function that allows different
Agree. I do like the idea to move I/O out of libssh2 and have the
But, I like blocking I/O a whole lot better.