blocking sockets on Leon4

Dogu Cetin dogu.cetin at gmail.com
Mon Mar 2 08:09:15 UTC 2015


Hello,

My application opens a TCP socket with default settings and communicates
with another computer. I am reading received packages in a loop. However I
noticed that read calls are non-blocking instead of blocking. Even if there
is no data, it returns 0 as number of bytes read and it doesn't block.
Default settings should be non-blocking as far as I understand.

Do you have any idea why it behaves like that? Might it be about BSP?

Kind Regards

Dogu Cetin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20150302/80669ce9/attachment.html>


More information about the users mailing list