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

I have scoured the web looking for a list of valit socket options that can be set with setsockopt. Can't seem to find anything execpt a few examples of how to use setsockopt to make a socket reusable. What other things can be set with the setsockopt function?
setsockopt SOCKET,LEVEL,OPTNAME,OPTVAL Sets the socket option requested. Returns undefined if there is an + error. OPTVAL may be specified as undef if you don't want to pass an + argument.

Replies are listed 'Best First'.
Re: Valid options for setsockopt
by sgifford (Prior) on Feb 15, 2005 at 05:19 UTC
    They vary by system. See your system's manpage for setsockopt(2) and socket(7) for the ones that are supported on your system.