Subject: | Net::VNC hangs on buggy VNC server |
I have a range of VNC servers from which i grab the screen resolution
(updating our central database).
Sometimes, one of the older Windows 2000 servers (legacy system in a
production plant) wont send its initialization string. So, Net::VNC hangs
on the first read() in _handshake_protocol_version(). The timeout seems
not effective in this.
Wrapping the call in alarm(15)/alarm(0) calls seems to be effective,
though.