Using LWP::UserAgent gives: Bad protocol 'tcp'

Discussion in 'HTML / PHP / JavaScript / CSS' started by clang, May 17, 2004.

  1. I'm trying to use LWP::UserAgent to make HTTP calls, but no matter what URL I use I get the following error:

    Can't connect to <sitename>:80 (Bad protocol 'tcp')

    I verified that Perl doesn't seem to see the 'tcp' protocol by trying: getprotobyname('tcp')

    forums.devshed.com/t93933/s20810c8680ace395c8dcd5dc2d0faf08.html suggests that the problem is caused by a hosed TCP/IP stack. Does anyone know what else might cause it?
     

Share This Page