EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Wrong socket state 4 in Init (error code is 96258)

Posted: 11/07/2008 18:10:26
by goubin dylan (Standard support level)
Joined: 09/19/2006
Posts: 13

We do meet the same issue with a few users; we think that the issue does not come from the server side but from the client side because we test the same server from another computers on another location and everything works fine;

Perhaps the issue came from the user connection, or the Windows network configuration but we did not manage to find out the origin of the error code.
Posted: 11/07/2008 18:18:33
by skylar hayes (Standard support level)
Joined: 11/03/2008
Posts: 7

Thank you. After hours of debugging, the problem is a known issue of Visual Studio. It was a problem on my end where if a breakpoint was ANYWHERE in my code before your SFTPClient.connect() then it would throw that socket error. I took out ALL of my breakpoints and the code ran flawlessly. I appreciate all of your help and hope that our business chooses this software for future development. This forum post can be closed now thanks!
Posted: 11/07/2008 18:53:15
by goubin dylan (Standard support level)
Joined: 09/19/2006
Posts: 13

but we meet the same issue under DELPHI 7
Posted: 05/04/2017 07:33:26
by Jakub Fildan (Standard support level)
Joined: 04/07/2016
Posts: 20

I have got this error (Wrong socket state 4 in Init (error code is 96258)) when I have tried to open second connection with the same instance and parameters of ftp client.
No complains, just information for others who looking for a possible reason of this error.
Posted: 05/05/2017 00:30:13
by Eugene Mayevski (Team)

Right, this is the correct and the only possible way to indicate that the connection is already open and cannot be reused.

Sincerely yours
Eugene Mayevski



Topic viewed 21691 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!