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.