marcelbuesing / socketcan-isotp

ISO-TP socketcan library for Rust
23 stars 12 forks source link

Receive timeout #5

Closed duslabo closed 2 years ago

duslabo commented 2 years ago

Hi, The receive timeout supported for SOL_CAN_ISOTP,?

SO_RCVTIMEO -- Something like this.

duslabo commented 2 years ago

We can use it by setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv));

Library support is required.

duslabo commented 2 years ago

Closing the issue, will be submitting MR for the same.