M. Koehrer wrote:
> Hi all,
> 
> I want to port a non realtime program to a rtnet based one.
> It is used to communicate with an embedded device.
> The communication is done via raw IP, i.e. IP is used for communication (and 
> routing), however the protocol byte within the IP header is 255 and the data 
> is directly padded after the IP header.
> The non realtime application uses the socket call
>       sock = socket(AF_INET, SOCK_RAW, IPPROTO_RAW);
> for this.
> A data structure that contains the complete IP header directly followed by 
> the user data
> is sent via sendto to the embedded device.
> 
> How can I do something similar with rtnet?
> I want to open a socket using IP as routing protocol but not UDP but raw IP?
> I did not see in the source code that IPPROTO_RAW is supported by rtnet.

That's true, one has to extend the existing stack to support raw IP sockets.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
RTnet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to