blocking sockets on Leon4
dogu.cetin at gmail.com
Mon Mar 2 08:09:15 UTC 2015
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users