node-telnet-client
node-telnet-client copied to clipboard
make timeout optional
Hi, I am creating multiple(large number) instances simultaneously, and in such cases I get a problem with the socket timing out. I downloaded your code and commented out the part for the socket.setTimeout, and I am getting proper results.
Is there any way that the timeout property can be set to optional? here I see that the timeout is set to default of 500.
You can only increase timeout for send and exec.
I am facing a problem at that point. When I put timeout, for any value, no matter how large, I am getting a connection timed out error.