On Mon, 10 Apr 2000 11:00:34 BST, Tim Bunce wrote: >On Sun, Apr 09, 2000 at 08:43:02AM -0700, Gurusamy Sarathy wrote: >> This happens because Windows is missing an entry for "http" in the >> winnt/system32/drivers/etc/services database. It works if you >> add a line like the following in that file: >> >> www 80/tcp http >> >> It apparently worked in previous versions because IO::Socket used >> to ignore failures in looking up the service name when the port was >> also specified, but doesn't anymore. > >Why not? > >I could understand it warning if the port numbers differ but I see no >value in warning if the name can't be looked up but a number has been >supplied. I would agree. The 5.6.0 behavior looks accidental. (BTW, I don't understand what you mean by "warning". Perl doesn't produce any warnings here.) Sarathy gsar@ActiveState.comThread Previous | Thread Next