Thread: Memory data share/exchange

  1. #1
    Registered User
    Join Date
    Nov 2005

    Memory data share/exchange


    I would like to know if is it posible to share and send data trough the RAM memory between two or more different applications built in C and running on the same PC running LINUX.
    I do not want to use LAN or any virtual network nor buffer in disk.
    Could you how tell me to do this.

    Thank you.

  2. #2
    Gawking at stupidity
    Join Date
    Jul 2004
    Oregon, USA
    Last edited by itsme86; 08-03-2006 at 01:10 PM.
    If you understand what you're doing, you're not learning anything.

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Or Unix Domain Sockets - they're typically memory-based too.
    All the buzzt!

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  4. #4
    Registered User Rennor's Avatar
    Join Date
    Aug 2006
    Check Shared memory Functions;


    You can get memory (shmget()) and attach it (shmat()), it's like allocated piece of memory you can attach to in any process.

    This is in category of IPC so first reply to your post also gets you into these facilities but I just thought to point this out in more specific way. I am by no means very knowledgeable with shared memory, it's just that I was asking this very same question this morning and this is where I am

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 48
    Last Post: 09-26-2008, 03:45 AM
  2. How to Parallel reading flat file into C ?
    By anwar_pat in forum C Programming
    Replies: 11
    Last Post: 09-16-2006, 09:44 PM
  3. C diamonds and perls :)
    By Carlos in forum A Brief History of
    Replies: 7
    Last Post: 05-16-2003, 10:19 PM
  4. Is it necessary to write a specific memory manager ?
    By Morglum in forum Game Programming
    Replies: 18
    Last Post: 07-01-2002, 01:41 PM
  5. gcc problem
    By bjdea1 in forum Linux Programming
    Replies: 13
    Last Post: 04-29-2002, 06:51 PM