setsockopt
See the current Perl documentation for setsockopt.
Here is our local, out-dated (pre-5.6) version:

setsockopt - set some socket options

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.