Leandro Favarin wrote:
> I'm sorry for posting twice but I think that my problem became easier
> to solve, because now I'm trying to convert both "linux_client.c" and
> "linux_server.c" (located in /rtnet-0.9.12/examples/generic/) and it's
> returning the same error: recvfrom(): Success
> 
> I simply changed socket() to rt_dev_socket(), bind() to rt_dev_bind(),
> sendto() to rt_dev_sendto(), recvfrom() to rt_dev_recvfrom() etc
> beyond adding "#include <rtdm/rtdm.h>" to the source files.
> 
> What I'm doing wrong?

What I already explained: You are lacking RT-task context for receive,
and the error code is returned directly.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to