pub fn check_socket_option(socket_option: SocketOption) -> Result<(), String>