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

Re: Remote EOF and MinGW builds


On Saturday 03 April 2010 23:00:15 you wrote:
> On Saturday 03 April 2010 12:42:33 you wrote:
> > Hi,
> 
> Hi Thomas,
> 
> > 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
> > sufficient.
> 
> 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 ;)
> 
> http://git.libssh.org/?a=commitdiff&p=asn/libssh&h=a28c16876b4d3354c8104b8c
> b6c3d33fdfdddff1
> 

I've done some modifications. Look at

	http://git.libssh.org/?a=summary&p=asn/libssh

for the latest poll-emulation.


	-- andreas


Follow-Ups:
Re: Remote EOF and MinGW buildsThomas Schmid <schmid-thomas@xxxxxxx>
References:
Re: Remote EOF and MinGW buildsThomas Schmid <schmid-thomas@xxxxxxx>
Re: Remote EOF and MinGW buildsAndreas Schneider <mail@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org