Sockets... checking if client is still online
Posted: Sat Feb 12, 2005 5:40 pm
Hi,
Put simply I want to provide a link to ftp running on my pc but only if my pc is connected to the internet at the time, otherwise just display a short message saying "Offline".
I'll keep a script running on my pc when it's on to acheive this if need be but I basically need some way of only displaying the link to my ftp if it's actually going to open otherwise visitors will just get a not found error.
I believe this can be done with sockets? Is this gonna be easy to do?
I should point out that I know nothing about sockets....
Thanks
Put simply I want to provide a link to ftp running on my pc but only if my pc is connected to the internet at the time, otherwise just display a short message saying "Offline".
I'll keep a script running on my pc when it's on to acheive this if need be but I basically need some way of only displaying the link to my ftp if it's actually going to open otherwise visitors will just get a not found error.
I believe this can be done with sockets? Is this gonna be easy to do?
I should point out that I know nothing about sockets....
Thanks