Thanks for the links. First I tried for the easy netsh way:

C:\>netsh int ip reset reset.log The following command was not found: int ip reset reset.log. C:\> # bugger C:\>netsh netsh>int interface>ip interface ip>reset The following commands are available: Commands in this context: reset all - Resets configuration. interface ip>reset all The following command was not found: reset all. interface ip>do quality contol and testing The following command was not found: do quality contol and testing interface ip>^C # double bugger ;-)

Oh, well so much for that. (I believe that is the approach on XP as you can't really delete TCP/IP) Next I tried the link you provided for W2K but reboots later it was still barfing. I found this M$ link which also suggests deleting a lot of registry values, so another 3 reboots later.....tada:

C:\>perl -le "print getprotobyname('tcp')" tcpTCP6 C:\>HEAD perlmonks.org 200 OK Connection: close Date: Thu, 15 Jul 2004 06:37:48 GMT Server: Apache/1.3.27 Content-Type: text/html; charset=ISO-8859-1 Client-Date: Thu, 15 Jul 2004 06:39:06 GMT Client-Peer: 209.197.123.153:80 Client-Response-Num: 1 C:\>

All is well in the world again. Thanks very much for your help, much appreciated.

cheers

tachyon


In reply to Re^2: bad protocol 'tcp' win32 error because getprotobyname is failing by tachyon
in thread bad protocol 'tcp' win32 error because getprotobyname is failing by tachyon

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.