The Doc Man
Thank you so much, you have some points here , after implementing the sleep function , the code is now generating again an error below, but I'm able to ping the gadget from the remote computer see the ping details
lngStatus = OpenSocket("192.168.1.197", 8888)
lngStatus =...