[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue closing socket in win32
[Thread Prev] | [Thread Next]
- Subject: Re: Issue closing socket in win32
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 14 Apr 2015 21:06:01 +0200
- To: libssh@xxxxxxxxxx
On Wednesday 08 April 2015 12:38:44 Ricardo Moreno wrote: > Doing error handle testing on a Windows SSH Server. > Found an issue if existing port is being use. > On bind.c > Function -> bind_socket() > When an error happens it calls close(s) and under windows it should call > closesocket(s); > > Example below > > > #ifdef _WIN32 > closesocket(s); > #else > close(s); > #endif I've fixed that in master ... -- andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.org asn@xxxxxxxxxxxxxx
Issue closing socket in win32 | Ricardo Moreno <rmoreno@xxxxxxxxxxxx> |