HTTP Socket problem.... 
Author Message
 HTTP Socket problem....

I have the following 2 lines of code that setup my socket....

$socket =
IO::Socket::INET->new(Proto=>"tcp",PeerAddr=>"www.nba.com",PeerPort=>"80")
or die "Can't open socket";
print $socket "GET /games/20020313/scoreboard.html HTTP:/1.0\n\n";

I'm getting a request error.  I know this file exists.  This GET request is
the same syntax that I use for other sites.  What am I doing wrong?

Thanks,
Brian



Mon, 30 Aug 2004 20:54:54 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Problem with socket upon HTTP

2. Problem with libwww and HTTP 200, HTTP 302 response messages

3. MacPerl sockets in my HTTP server

4. Using File::Copy and Sockets to copy public files from http addresses

5. HTTP Server using Sockets

6. HTTP & sockets on win32

7. cgi.pm http socket example

8. IO::Socket, HTTP POST vs. GET

9. HTTP Header (using IO::Socket)

10. http+sockets

11. socket to http

12. http socket programming

 

 
Powered by phpBB® Forum Software