I am using a TCP request node to receive data from a network device.
This works fine and I am using the "sit and wait for data" option i.e. return = "never. keep connection open".
I can communicate with the device perfectly, when all is O.K.
However, if I disconnect the device once node-red has connected (i.e. unplug it from the network), I cannot seem to work out how to get this as an event e.g. Timeout or TCP disconnected.
My only idea is to use a delay node on all sent messages to check for a timeout situation using sent time and delay time.
Any help appreciated, Aaron