B
BartBilliet
Hello guys,
I've made a application who receives data trough a socket from a
machine. But when the machine is switched off (so without closing the
socket), I want to check if the machine is on or off. When the
machine is off I set a timer who checks every 10 sec if the machine
is switched on in the meanwhile and if he is switched on I make a new
socket connection. But how can I detect when my endpoint (the
machine) is off. Because when I sent data to the machine trough the
socket when the machine is off there 's no problem. (Just get number
of sent bytes even if machine is switched off) Please help me!
Thanks,
Bart Billiet
I've made a application who receives data trough a socket from a
machine. But when the machine is switched off (so without closing the
socket), I want to check if the machine is on or off. When the
machine is off I set a timer who checks every 10 sec if the machine
is switched on in the meanwhile and if he is switched on I make a new
socket connection. But how can I detect when my endpoint (the
machine) is off. Because when I sent data to the machine trough the
socket when the machine is off there 's no problem. (Just get number
of sent bytes even if machine is switched off) Please help me!
Thanks,
Bart Billiet