http://www.perlmonks.org?node_id=8376

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I always run into questions about the use of some getsockopt() and the use of some of the methods in IO::Socket. I'd like to find an easy to understand reference to using Socket and IO::Socket. I've manned them, been to cpan, up and down perl.com forever, even read a bunch of free scripts, but I want to learn every option and method.

Ex: why doesn't this work?

getsockopt(TESTSOCK, SOL_SOCKET, SO_SNDTIMEO, 1);

When the description for getsockopt clearly states getsockopt SOCKET LEVEL OPTNAME VAL

I need a good tutorial - if anyone can give a hand, I'd surely appreciate a deviation from manuals that don't provide examples

Originally posted as a Categorized Question.