Hello!
After connect and send bytes :
const client = new SocketClientTCP(7000, '192.168.1.17');
client.send(hex_string1);
(bytes send perfectly)
server not response and client hanging on command
data=client.receive();
Not go to next command.
How can set timeout on receive function ?
A construction using settimeout loses connection , example:
setTimeout(function(){data=client.receive();},1000);
Error: Cannot use NetLinkSocket that has already been destroyed.