Hi,Jan In rtnet-0.9.11: rt_dev_getsockopt(fd, optname, optval, optlen) rt_dev_setsockopt(fd, optname, optval, optlen) In rtai-3.7: rt_dev_getsockopt(fd, level, optname, optval, optlen) rt_dev_setsockopt(fd, level, optname, optval, optlen)
Why they lack the parameter 'level'? In rtai-3.7,there is the definition of 'rt_dev_select'. In rtnet-0.9.11,there is not 'select_rt' corresponding to 'rt_dev_select'. Why? The type of last parameter 'timeout' in select() is 'struct timeval *', while in rt_dev_select() it is 'nanosecs_rel_t'. I am trying to transform a non-realtime program to a realtime program. Can I convert 'struct timecal * timeut' to 'nanosecs_rel_t timeout' compulsorily? Thank you for your help. Susan ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users