dotnet / dotnet/iot

Iot.Device.SocketCan -> TryReadFrame() offer nonblocking mode?

Open
#2,385 3 comments 2 reactions 2 assignees Claimed by @raffaeler View on GitHub
api-suggestion Priority:2
Dominant language
C#
Stars
2.4k
Forks
630
Avg merge
11d 3h
Merged PRs (30d)
2

Description

From what I understand, Linux socket devices can be opened in a blocking or non-blocking mode for reading. Standard is blocking-mode.

=> Flags O_NONBLOCK, MSG_DONTWAIT in the C world

Would it be possible to implement this choice for Iot.Device.SocketCan.CanRaw?

many thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.