sock = rt_dev_socket(AF_INET, SOCK_DGRAM,0);
if (sock<0){
...
}
ret = ret_dev_ioctl(sock, RTNET_RTIOC_EXTPOOL, &add_rtskbs);
if(ret != add_rtskbs) {
exit(1);
} else {
printf("Buffer pool extended\n");
}
//...
//rt_task_init
//etc
You see that i create the socket before rt_task_init call, but all works fine without "rt_dev_ioct" call.
What can i do?
Teresa
--
Teresa Noviello
Chiedersi Sempre:"Avro' il tempo di rifarlo?"
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users