pub unsafe fn sock_set_opt_time(
    fd: Fd,
    sockopt: SockOption,
    timeout: *const OptionTimestamp
) -> Result<(), Errno>
Expand description

Sets one of the times the socket

Parameters

  • fd - Socket descriptor
  • sockopt - Socket option to be set
  • timeout - Value to set the time to