prakash srinivasan wrote:
> 
> Dear all,
> 
>      May be my question are not upto the level, but I would like to clear few 
> of my doubts. I have an simple Server/Client program to communicate each 
> other for testing purpose on Linux OS. Its working fine in normal linux and 
> accessing local loop. I used the normal driver here. 
> 
> 
> 
> Now I removed the normal driver. Loaded all the necessary RTAI modules along 
> with RTNET and real time driver(RTL 8139). Tested that the rtnet is working 
> fine. Now, can I access the rtlo (real time loop)using the same normal 
> server/client application what I used in normal linux?

Not exactly. The application-visible interfaces might be similar
(rt_dev_*) or even identical (POSIX API), but at least the binding of
your program to the real-time API is different (the programs need to
link against the RTDM library - or what RTAI provides). Check the
examples directory of RTnet, maybe there is also something and RTAI's
showroom.

> Or do I need to modify the program on both of the server/client side and 
> should use rtnet/rtai functionalities?. I hope my words are clear.

Again, check the examples. Depending on your communication load, there
might furthermore be the need to extend the buffer pools of the sockets
on both sides (RTNET_RTIOC_EXTPOOL, see also README.pools).

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux

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