Function rs2_set_udp_ttl

Function Documentation

void rs2_set_udp_ttl(const rs2_device *device, unsigned int ttl, rs2_error **error)

Set UDP packet “time to live” (TTL)

Parameters:
  • device[in] RealSense device

  • ttl[in] UDP TTL value (1-255)

  • error[out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored