I create the sochet with the functuin socket_rt sock = socket_rt( PF_PACKET, SOCK_DGRAM, htons( ETH_P_CUST)); the system returne:
Socket error: -99 packet_if_rtai.o: init_module: Operation not permitted Hint: insmod errors can be caused by incorrect module parameters, including invalid IO, or IRQ parameters. If I remouve the htons i don't have any problem... You can tell me wath protcol are supported? thanks Nicol@ ------------------------------------------------------- SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_idt02&alloc_id135&op=click _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users