Gossamer Forum
Home : General : Perl Programming :

Bad protocol 'tcp'

Quote Reply
Bad protocol 'tcp'
Recently I have gotten this bad protocol 'tcp' error. I'm not sure what caused it to start but it wasn't always like this. I tried reinstalling perl and it didn't help. I'm running WinXP SP1.

Here is an example of the error while I was trying to get some modules...

ppm> search *
Searching in Active Repositories
Error: No valid repositories: Error: 500 Can't connect to
ppm.ActiveState.com:80 (Bad protocol 'tcp') Error: 500 Can't connect to
ppm.ActiveState.com:80 (Bad protocol 'tcp')
Quote Reply
Re: [DasNoc] Bad protocol 'tcp' In reply to
I had a problem with LWP::Simple giving me this error before. I think it was down to the LWP modules not being installed correctly. Rectefying those seemed to fix my problem (not sure how much help this will be to you though).

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Bad protocol 'tcp' In reply to
I tried removing and reinstalling perl and I have this error while trying to use ppm or ppm3 to get modules again. $val = getprotobyname('tcp'); returns a val of nothing on this system but on another system I can run it and it returns 6.