Posted on 2009-06-25 16:05:53-07 by protalis
LWP Install: Can't connect: IO::Socket::INET: connect: Invalid argument
Running opensolaris and perl 5.8.4. Went to install LWP, but got 'Can't connect: IO::Socket::INET: connect: Invalid argument'. Looks like non-zero Timeout value in client portion of 'talk-to-ourself' produces this error. Changed Timeout to ZERO and error disappeared. Have no info on why, etc--thought I would share. Figured it out when I found this note on IO::Socket: "* fix broken error report in IO::Socket when non-blocking mode is used (when timeout is nonzero): instead of 'Invalid argument' it should tell that the server is not reachable;" at this link: http://svn.civicrm.org/civicrm/branches/v1.9/tools/amavisd-new/amavisd-new-2.4.2/TODO
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.