[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Remote EOF and MinGW builds
[Thread Prev] | [Thread Next]
- Subject: Re: Remote EOF and MinGW builds
- From: Thomas Schmid <schmid-thomas@xxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 03 Mar 2010 20:51:24 +0100
- To: libssh@xxxxxxxxxx
Hi, On 03.03.2010 17:59, Aris Adamantiadis wrote:
I've just seen another user having the problem that they're linking their libssh to the native version of poll on windows, and the code doesn't work anymore under XP and 2k. I think work should be done here to allow a selection of the poll implementation to work with at runtime...
what about using Apache Portable Runtime (APR) or Netscape Portable Runtime (NSPR)? Both implement poll() for Windows, Linux and Unix and are known to be very portable and rather bug free.
The code of trunk is not deliberately broken but contains a whole new socket handling paradigm (callbacks based) and I've seen myself some problems left under linux. I guess it's worse under windows, so I'd consider this as experimental code.
I pulled the most code from the version system. But this code won't compile due to sytax errors caused by bad function headers and missing variables.
The right fix, for now, would be to fix the poll emulation layer under windows, as it's used as-is anyway with the new socket handling scheme.
If it's ok for you I would try get the library use APR. This would fix the problem with the poll emulation.
Regards Thomas
Re: Remote EOF and MinGW builds | Andreas Schneider <mail@xxxxxxxxxxxx> |
Remote EOF and MinGW builds | Thomas Schmid <schmid-thomas@xxxxxxx> |
Re: Remote EOF and MinGW builds | Andreas Schneider <mail@xxxxxxxxxxxx> |
Re: Remote EOF and MinGW builds | Thomas Schmid <schmid-thomas@xxxxxxx> |
Re: Remote EOF and MinGW builds | Aris Adamantiadis <aris@xxxxxxxxxxxx> |