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

Issue closing socket in win32

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

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 win32Andreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org