(PECL event >= 1.6.0)
Sets socket options
public static bool EventUtil::setSocketOption ( mixed $socket , int $level , int $optname , mixed $optval )
Sets socket options.
Parameters:
socket
Socket resource, stream, or numeric file descriptor associated with the socket.
level
One of EventUtil::SOL_* constants. Specifies the protocol