Networking Forums

Networking Forums > Computer Networking > Linux Networking > Does Linux and embedded Linux provides RAW socket?

Reply
Thread Tools Display Modes

Does Linux and embedded Linux provides RAW socket?

 
 
GS
Guest
Posts: n/a

 
      04-11-2007, 02:21 AM
Any idea, whether regular LInux or Embedded Linux provides RAW
socket?. We are buying some third party IPC API, they claim it is on
RAW socket based, I am wondering if we want to use that with embedded
linux, do we have to do port anything?. otherwise we have to have to
write IPC API which consumes lot of man power (socket, sendto, select,
recvfrom), thanks.

 
Reply With Quote
 
 
 
 
Stephane CHAZELAS
Guest
Posts: n/a

 
      04-11-2007, 06:58 AM
2007-04-10, 19:21(-07), GS:
> Any idea, whether regular LInux or Embedded Linux provides RAW
> socket?. We are buying some third party IPC API, they claim it is on
> RAW socket based, I am wondering if we want to use that with embedded
> linux, do we have to do port anything?. otherwise we have to have to
> write IPC API which consumes lot of man power (socket, sendto, select,
> recvfrom), thanks.


Linux has RAW sockets at least in the inet and inet6 protocol
families. But I'm not too sure that's what you're talking about.
Those are for cooking IP packets from raw, not for IPC.

See:

man 7 raw

on a Linux box.
http://man.linuxquestions.org/index....=raw&section=7

--
Stéphane
 
Reply With Quote
 
GS
Guest
Posts: n/a

 
      04-13-2007, 04:21 AM
Steve,

Thanks fro reply, my question is: Is there any issue if we implement
IPC library using RAW sockets versus regular socket programming
(SOCK_DGRAM), this we need to use it on commercial embedded Linux OS.

Thanks.

 
Reply With Quote
 
Marco Wang
Guest
Posts: n/a

 
      04-14-2007, 05:26 AM
On Apr 13, 12:21 pm, "GS" <globalsw...@hotmail.com> wrote:
> Steve,
>
> Thanks fro reply, my question is: Is there any issue if we implement
> IPC library using RAW sockets versus regular socket programming
> (SOCK_DGRAM), this we need to use it on commercial embedded Linux OS.
>
> Thanks.



Why don't you use TIPC or LINX IPC API? Both are open sourced IPC on
Linux library.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding my own L3 protocol in embedded Linux system with add_dev_pack Wojciech M. Zabolotny Linux Networking 1 03-15-2012 06:19 PM
A few places left at Embedded LInux Workshop richard@energi-tech.co.uk Linux Networking 0 03-22-2008 03:32 PM
Embedded Linux Workshop richard@energi-tech.co.uk Linux Networking 0 02-11-2008 05:45 PM
wireless-tools problem on embedded linux sabine.hauert@gmail.com Linux Networking 2 06-01-2007 05:23 PM
RJ45 extender + embedded Linux? Gilles Ganault Linux Networking 5 05-12-2007 05:48 AM



1 2 3 4 5 6 7 8 9 10 11