Re: Remote EOF and MinGW builds
- Subject: Re: Remote EOF and MinGW builds
- From: Andreas Schneider <mail@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Sat, 3 Apr 2010 23:00:15 +0200
- To: libssh@xxxxxxxxxx
On Saturday 03 April 2010 12:42:33 you wrote:
> As BSD and Cygwin do not support poll() natively, I've adopted and
> ported their emulation code to windows. It seems to work as it should.
> I've attached the modified poll.c code to this mail. If I find some more
> time, I'll try to implement WSAPoll compatibility.
> If you run lib ssh as server, you might consider slightly increase
> FD_SETSIZE . For a client listen to max 64 file handles should be
I've created an improved version of your code. This should work under Windows
and other UNIX systems. It covers more cases and shouldn't segfault ;)
Could you try this patch?
Archive administrator: firstname.lastname@example.org