Re: help with RTSock...am not understanding anything.
Robert Kavaler <[email protected]>
| Newsgroups | gmane.linux.real-time.rtlinux.general |
|---|---|
| Message-ID | <[email protected]> |
I doubt there is such help available, but I wrote rtsock so I may be able to help. Did you try the example? Did it work? After you try it, the next step is to understand it, which may be where you are. I think it is hard to explain (I wrote the documentation too, that was the best I could do). The fundamental design of rtsock pushes all of the opening and closing and binding and connecting and error handling of sockets to user space, where they are done as usual, and only the processing of UDP packets is done in the realtime process. *If you want your entire code, including opening and closing the sockets and binding/connected them, to run in realtime then rtsock is NOT for you*. Now given that you have both realtime and user space things going on with rtsock, you should look at the example of the realtime part and see what is going on there. The user space part is identical to standard socket programming with the exception of one additional ioctl to the rtsock device. This call is used to bind (i.e. pass) the user space created socket with the rtsock handler. I hope this helps as a place to start. Robert vishal changrani wrote: > Hi all... > I want to do some network programming in RTlinuc. As per the archives > I tired to use RTsock. However..am finding it very hard how to write a > simple code in RTsock. > I apologize if I am sounding naive but I have done socket programming > in C but am not able to comprehend at al the exmaples of RTSock, > Is there any book or online help for RTSock programming which teaches > the basics and stuff. > > Please help, > Vishal Changrani > > ------------------------------------------------------------------------ > Do you Yahoo!? > vote.yahoo.com <http://vote.yahoo.com> - Register online to vote today! > >------------------------------------------------------------------------ > >_______________________________________________ >Rtl mailing list >[email protected] >http://www2.fsmlabs.com/mailman/listinfo/rtl > > _______________________________________________ Rtl mailing list [email protected] http://www2.fsmlabs.com/mailman/listinfo/rtl