pub unsafe fn setsockopt<T>( sock: &Socket, level: c_int, option_name: c_int, option_value: T, ) -> Result<()>
Sets the value of a socket option.
T must be the type associated with the given socket option.
T