Does Linux and embedded Linux provides RAW socket?

Discussion in 'Linux Networking' started by GS, Apr 11, 2007.

  1. GS

    GS Guest

    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.
     
    GS, Apr 11, 2007
    #1
    1. Advertisements

  2. 2007-04-10, 19:21(-07), GS:
    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.php?query=raw&section=7
     
    Stephane CHAZELAS, Apr 11, 2007
    #2
    1. Advertisements

  3. GS

    GS Guest

    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.
     
    GS, Apr 13, 2007
    #3
  4. GS

    Marco Wang Guest


    Why don't you use TIPC or LINX IPC API? Both are open sourced IPC on
    Linux library.
     
    Marco Wang, Apr 14, 2007
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.