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

Re: Issue closing socket in win32


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


References:
Issue closing socket in win32Ricardo Moreno <rmoreno@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org