ExitReason vs. Disconnect(string) (General questions)
I'm having a hard time figuring out how to send the correct ExitReason when calling Disconnect from a WOD SSH client.
Disconnect has three overloads, one without parametes, one with a bool and one with a string.
When I use the one with a string, on the receiving hand, the SSH server receives each time a different ExitReason, but nothing is inside ExitDescription, which remains null. When I change the value of the string, the ExitReason changes, but I cannot find a relationship between the string and the enum from the Server.
What I want is a way to know if a disconnection is actually a loss of connection or if it is the application shutting down.
Can you explain to me how?
Thanks
Martin
The programs are in C# and the two products we are using are
WOD ActiveX SSH Server 2.2.2
WOD SSH .NET 2.4.7
Complete thread:
- ExitReason vs. Disconnect(string) - brem, 2010-04-14, 15:50
- Re: ExitReason vs. Disconnect(string) - woddrazen, 2010-04-14, 16:51
- Re: ExitReason vs. Disconnect(string) - brem, 2010-04-14, 16:51
- Re: ExitReason vs. Disconnect(string) - wodsupport, 2010-04-15, 02:13
- Re: ExitReason vs. Disconnect(string) - brem, 2010-04-15, 19:58
- Re: ExitReason vs. Disconnect(string) - wodsupport, 2010-04-15, 02:13
- Re: ExitReason vs. Disconnect(string) - brem, 2010-04-14, 16:51
- Re: ExitReason vs. Disconnect(string) - woddrazen, 2010-04-14, 16:51