The server will not send a response until it sees the end of the headers which is indicated by a blank line. You should change the line:
toprint $socket "GET /us/index.asp HTTP/1.0";
Hope That helpsprint $socket "GET /us/index.asp HTTP/1.0\r\n\r\n";
/J\
In reply to Re: Web Page - IO::Sockets
by gellyfish
in thread Web Page - IO::Sockets
by Mitch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |