If your server is serving HTTP then you almost certainly don't want to use raw sockets to talk to it. Take a look at LWP. Your code might be a simple as:
use LWP::Simple; if (head($host)) { # $host returned data } else { # $host didn't return data }
See the Copyright notice on my home node.
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg
In reply to Re: Perl - get HTTP streaming server data
by davorg
in thread Perl - get HTTP streaming server data
by Zarkon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |