Hi Jan

yes, it doesn't even compile. Inside rtnet.h it was written that the
definitions are only under kernel as shown bellow

#ifdef __KERNEL__

#include <linux/socket.h>


/* socket option names */
#define RT_SO_EXTPOOL       0xFF01
#define RT_SO_SHRPOOL       0xFF02
#define RT_SO_PRIORITY      0xFF03
#define RT_SO_NONBLOCK      0xFF04
#define RT_SO_TIMEOUT       0xFF05

..
..
#else // !__KERNEL__

#include <rtnet_lxrt.h>
..
...

maybe the ifdef __KERNEL__ is too early ?

Thanks
Bret

On Sun, 20 Jun 2004, Jan Kiszka wrote:

> Bret Yen-Ting Lin wrote:
> > Hi Jan
> >
> > I am using rt_socket_setsockopt in user space (lxrt), it seems that
> > RT_SO_TIMEOUT only supports kernel mode. Is this definite ?
> >
>
> No, should work both in kernel and user space. If not, it would be a
> bug. Did you test it?
>
> Jan
>


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
RTnet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to