All,

I try to receive DGRAMs with rt_dev_recvfrom:

/* Block until packets arrive */
rlen = rt_dev_recvfrom(sock, buffer_in, strlen(buffer_in), 0, (struct  
sockaddr*) &receive_addr, &fromlen);

When a packet arrives the call unblocks and the sender information is  
filled into receive_addr, but rlen is always 0 and consequently the  
buffer is empty. The packets I send definitively contain several data  
bytes and are well formed.

Kernel: 2.6.26.2
RTDM: RTAI (magma)
RTnet: SVN HEAD (0.9.11)
Driver: rt_e1000

Any hint appreciated!

TIA::Bernhard




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to