>>> First I want to get the current flags of the socket: >>> int tmp = fcntl(m_socket, F_GETFL, 0); >> int tmp = ioctl_rt(m_socket, SIOCGIFFLAGS, 0); >> is the IOCTL to get the flags... but now I'm having an even bigger > No, that's something completely different. See "man netdevice" for an > explanation of SIOCGIFFLAGS. I didn't know that. But would like to know which is the RTnet equivalent to "fcntl(socket, F_GETFL, 0)" (and also F_SETFL) is, that means, how do I get/set the flags of a RT-socket? Using just fcntl results in an error (returning value -1).
-- GMX Produkte empfehlen und ganz einfach Geld verdienen! Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users