My environment:
Delphi XE7
SecureBridge 6.4.7
Windows Server 2008 R2
It often happens that, after stopping the SSH server, the TCP port is not released.
It results in a zombie TCP connection.
TCPView for Windows show the process as "<non-existent>".
After that, if I try to run the SSH server, I get the exception " Socket error on binding. WSAGetLastError return 10048($2740)".
Here my log:
29/03/2017 14.56.30 Socket error on binding. WSAGetLastError return 10048($2740)
Only one usage of each socket address (protocol/network address/port) is normally permitted.
How can solve this problem?
SSH Server - Zombie TCP connections
Re: SSH Server - Zombie TCP connections
Unfortunately, we could not reproduce the issue on the latest SecureBridge 7.3.4 version.
Please make sure that the issue is reproduced on SecureBridge 7.3.4 version and check whether the problem is reproduced on our SimpleSSHServer demo project. You can find the SimpleSSHServer project in the %SecureBridgeDemos%\SFTPClient directory. %SecureBridgeDemos% is the SecureBridge Demo projects installation path on your computer.
Please make sure that the issue is reproduced on SecureBridge 7.3.4 version and check whether the problem is reproduced on our SimpleSSHServer demo project. You can find the SimpleSSHServer project in the %SecureBridgeDemos%\SFTPClient directory. %SecureBridgeDemos% is the SecureBridge Demo projects installation path on your computer.