Can't reopen telnet session #1074
Replies: 1 comment 1 reply
-
Hi @chekhovana, Indeed the method jsbsim/src/input_output/FGfdmSocket.cpp Lines 245 to 264 in 3c7582e So your suggestion looks good to me. Would you mind opening a pull request to update the code ? Thanks for your contribution. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm facing the following problem: first telnet connection is established successfully:
but the second attempt hangs without expected response, the output is:
and nothing else. Is that the intended behaviour? I tried to skim through the source code and it seems that socket isn't closed completely on
quit
command. Adding extra line toFGfdmSocket::Close
method fixes the issue:original version:
jsbsim/src/input_output/FGfdmSocket.cpp
Lines 316 to 323 in b9bfc23
modified version:
But I'm not sure this is correct thing to do, as I'm extremely unexperienced both in c++ an sockets.
Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions