Yes I started the program on _both_ nodes by specifying the other node  
as destination, as follow :

/* bind the rt-socket to a port */
local_addr.sin_addr.s_addr = INADDR_ANY;

/* set destination address */
dest_addr.sin_addr = dest_ip;


Btw, I'd like to know the difference between:
rt_dev_socket(AF_INET,SOCK_DGRAM,0);
and
rt_dev_socket(AF_INET,SOCK_DGRAM,IPPROTO_UDP);

Why: 0 and IPPROTO_UDP ?


Michel

Jan Kiszka <jan.kis...@web.de> a écrit :

> Am 06.09.2010 17:55, Michel He wrote:
>> hello all,
>>
>>
>>      I tried to make client server application, but currently nothing
>> could be received. First, I started the network with "rtnet start", I
>> test the rtping, it is ok. Then, I tried the example "frag-ip"
>> provided as is. It only works on local computer transactions. I
>> modified the destination IP, and let it run on 2 computers while one
>> of them is listening. However, nothing could be received ! Did anyone
>> know this problem ?
>
> The frag-ip example works peer-to-peer. So you have to configure a
> proper destination on both sides. Did you do this?
>
> Jan
>
>



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to