Ok, not it works. I linked against libpthread_rt and librt to get the example 
working.
Then i went back to my app with the libs linked and.....it works.
So if i not link my app to libpthread_rt and librt, sending will fail.
I have no idea....

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Jörn
Hoffmann
Gesendet: Donnerstag, 17. April 2008 15:11
An: rtnet-users@lists.sourceforge.net
Betreff: [RTnet-users] rt_dev_sendto()


Hi there,

i'm new to RTnet and i'm just starting playing a little bit. I have xenomai 
installed and at first i only 
want to send one udp-packet to a remote host. I'm using rt_dev_socket(), 
rt_dev_sendto() and rt_dev_close().
Unfortunately, the rt_dev_sendto() returns -1 but errno is 0. I cannot 
whireshark any packet.
I do not really know what's going and where i'm wrong.
The remote host is rtrouted, the nic is conigured and up. RTping works fine.

Does anybody have any suggestions to figure out what happens?

Thanks in advance,
Jörn

btw...i'm a little bit confused about the rtnet-xenomai example (rtt-sender) as 
for me it seems that there 
the linux-socket-functions will be called. I can't see any rt_dev-prefixes. Are 
these calls catched by rtnet???

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to