PDA

View Full Version : Using LWP::UserAgent gives: Bad protocol 'tcp'


clang
05-17-2004, 06:10 AM
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 (http://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?