On Thu, 22 Jul 2010 21:49:55 +0530  wrote

>prakash srinivasan wrote:



>> Hi,



>>  Now I am trying to execute the sample programs given in 
>> examples/xenomai/posix/ folder. I am trying to execute the rttcp-server and 
>> rttcp-client program. 



>> rttcp-server usage is ::./rttcp-server 



>> ./rttcp-server -l 192.168.0.10 (I used rteth0 device here)



>> Its waiting for client..



>> On the client side, the rttcp-client application usage is,



>> ./rttcp-client  



>> I opened another terminal and execute, ./rttcp-client -d 192.168.0.10 -l 
>> 127.0.0.1 -p 35999 -n 10 (I used rtlo device as a client)





>If you want to communicate over rtlo, you can leave out all arguments.



Otherwise, local address and destination address should be on the same



interface (under RTnet, rtlo only listens to the IP assigned to it



explicitly).



But still the problem exit. I used 192.168.0.10 as a server and 127.0.0.1 as a 
client. I executed like,

./rttcp-server -l 192.168.0.10  (its waiting for the client)

./rttcp-client (I am using rtlo here)

Now I am getting the error, Connect to server : Network is unreachable

Even I changed destination and local IP. But getting the same error.



FYI, I tried the steps mentioned in README.Special notes. I can able to ping 
the other machine address. However I could not able to ping the local rteth0 
address. ie, ./rtping 192.168.0.10 provides 100% packet loss. I guess this is 
the main reason for network is not reachable in the above program. 



Even I tried the same READE.special notes for local rteth0 also. But I could 
not able to ping this IP. Why?.



My route talbe is:



0A  192.168.0.10   rteth0

0B  192.168.0.11  rteth0



I can able to ping the another machine from rtifconfig. But ping is failed for 
local IP, ie 192.168.0.10.





>> But I am getting the error, 



>> ioctl (RTNET_RTIOC_EXTPOOL): Invalid argument.



>> Bind socket: cannot assign requested address.



>Is RT-TCP support enabled? Is rttcp.ko loaded?



Thanks for the info. Yes, I did not enabled RT-TCP.

Now I enabled RTTCP. recompiled the rtnet source. Then inserted the rttcp.ko 
modules. Now I did not get the error, 

ioctl (RTNET_RTIOC_EXTPOOL):Invalid argument



-prakash
------------------------------------------------------------------------------
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