star wrote:
> hello,Jan
> I'm new to rtnet and trying to test the examples using xenomai2.5.3
> and rtnet0.9.12. But I fail to run the source file
> /examples/xenomai/native/frag-ip.c with eclipse, I get a message
> :rt_dev_socket() = -97 as it run to the fellowing segment:
> /* create rt-socket */
> sock = rt_dev_socket(AF_INET,SOCK_DGRAM,0);
> if (sock < 0) {
> printf(" rt_dev_socket() = %d!\n", sock);
> return sock;
> }
> it seems that i can not create a rt_socket and the AF_INET address family is
> not supported .All the tools such as rtping and rtcfg run well,so i think i
> have installed rtnet successfully,but what??s worry?
> Check if the rt_udp module is loaded and the protocol is available (/proc/xenomai/rtdm/protocol_devices). If you were using the rtnet start script, this does not happen automatically in 0.9.12 (fixed in git). Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------
_______________________________________________ RTnet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rtnet-users

