Hi everybody,

I think I found a bug in rt_udp_recvmsg (udp.c)
The line 
            if (RTOS_TIME_IS_ZERO(&s->timeout)) {
should be replaced with
            if ( ! RTOS_TIME_IS_ZERO(s->timeout)) {
to handle the timeout properly. The original version checks the address for being zero 
which is not the idea of this condition...

Mathias




-- 
Mathias Koehrer
[EMAIL PROTECTED]




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
RTnet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to