The rtsock package that I contributed to the next release of rtlinux does something like this except that the UDP/IP socket setup is done in user space and the packets are processed in real-time space. If this is acceptable then I can send you a tarball if you provide an email address.
Robert Kavaler R O N A L D D U C K wrote: >I am planning to use network support in my real-time section of my >application. But I could not see any real-time API meant for RT-Linux. I >have doubt wheather rtlinux supports real-time networking like using TCP/IP >UDP/IP socket communication, if so how to use it. If not what will be the >best way to implement the networking in real-time. > >What exactly I am planning do is > >I will have a thread which will listen on a particular socket using TCP/IP >or UDP/IP, >When ever there is some data received through the socket, I want to process >it and send it to other real-time threads for their use. > >Please tell me how to achieve this in real-time because, I know how it can >be done non real-time. One more thing, If I call any non real-time functions >from real-time threads will it introduce a priority inversion. Please advice > >Regards >RD >-- [rtl] --- >To unsubscribe: >echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR >echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] >-- >For more information on Real-Time Linux see: >http://www.rtlinux.org/ > > -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/