[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue closing socket in win32
[Thread Prev] | [Thread Next]
- Subject: Issue closing socket in win32
- From: Ricardo Moreno <rmoreno@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 8 Apr 2015 12:38:44 +0000
- To: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
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 This e-mail message and all attachments transmitted with it may contain legally privileged and confidential information intended solely for the use of the addressee. If you are not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited.
Re: Issue closing socket in win32 | Andreas Schneider <asn@xxxxxxxxxxxxxx> |