Question
Pinging ports
Hi all, first post
In a nutshell, I have a script which embeds an IP camera's stream into a web page.
I'd like to be able to put some code at the start of the script which can determine whether the camera is on or off (if the script runs while the camera is off everything crashes
).
To reach the camera you use the IP address and port number it's located on; xxxx.xxxx.xxxx.xxxx: xxxx. I wondered if cf can check whether a port is open or closed so it would be possible to determine if the camera's on or off. Maybe it's not possible and I'm just being too hopeful
In a nutshell, I have a script which embeds an IP camera's stream into a web page.
I'd like to be able to put some code at the start of the script which can determine whether the camera is on or off (if the script runs while the camera is off everything crashes
To reach the camera you use the IP address and port number it's located on; xxxx.xxxx.xxxx.xxxx: xxxx. I wondered if cf can check whether a port is open or closed so it would be possible to determine if the camera's on or off. Maybe it's not possible and I'm just being too hopeful
