Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setSoTimeout(connectTimeout) #2

Open
feief opened this issue Apr 14, 2018 · 1 comment
Open

setSoTimeout(connectTimeout) #2

feief opened this issue Apr 14, 2018 · 1 comment

Comments

@feief
Copy link

feief commented Apr 14, 2018

in ch\ethz\ssh2\Connection.java:
tm.setSoTimeout(connectTimeout);

connectTimeout should affect socket connecting operation only, normally it is a short period of time, for instance, 3 secs. setSoTimeout() is expected to set a timeout for later socket read operation. How long the time period depends on the business requirements. So, it is better to introduce an additional parameter 'socketTimeOut'.

Thanks,

@Arts13
Copy link

Arts13 commented Aug 11, 2019

Hello can you give me a code on how i get the SERVER MESSAGE to STRING and put it to Text

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants