Hi!
I have a simple question and didn't manage to find the answer anywhere
in the docs: are SocketCAN sockets blocking or non-blocking by default?
TCP sockets are blocking by default and this is what I'm used to.
Looking at SocketCAN utils, cangen for example, indicates that as far as
write() goes, by default it doesn't block but it just returns ENOBUFS.
On the other hand, read() blocks (at least on my vcan interface) when
there is nothing to read.
--
Piotr Domagalski
Mobile Systems Research Labs, Poznan University of Technology
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users