Hi,
I am confused by rt_dev_setsockopt().
I modified simpleserver.c and simpleclient.c in 'rtnet-0.9.11/example/rtai'.
After adding ‘rt_dev_setsockopt’, programs went wrong and 'rt_dev_setsockopt'
returned '-92'.
I did below.
"int optval=1;
test=setsockopt(SockFd, SOL_SOCKET, SO_REUSEADDR, (const void*)&optval, sizeof
(optval));
printf("test=%d\n",test);// test=-92 "
I use linux-2.6.23,rtai-3.7 and rtnet-0.9.11.
Thanks for your support.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-users