Thread: Multiple process access to data stream

  1. #1
    carpe diem
    Join Date
    Jan 2010
    Posts
    46

    Multiple process access to data stream

    Hi,
    I wrote a code to access a stream of data coming in from an ethernet port. Everything works fine until I try to open multiple applications trying to access that same data: after the first process is open, any additional ones just won't run, all I get is a dos screen that just sits still and does nothing. Can anyone please just point me in the right direction as to how bypass this limitation?
    I already tried saving the data to a temporary buffer and having all the processes access that buffer and I got the same result.

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    This depends on how you are accessing the temporary buffer. Writing to a disk? Shared memory? What?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. program terminates abruptly
    By roaan in forum C Programming
    Replies: 3
    Last Post: 08-28-2009, 03:53 PM
  2. parent in a binary search tree
    By roaan in forum C Programming
    Replies: 4
    Last Post: 08-26-2009, 07:08 PM
  3. binary tree of processes
    By gregulator in forum C Programming
    Replies: 1
    Last Post: 02-28-2005, 12:59 AM
  4. Determining if stdin stream holds data
    By Stack Overflow in forum C Programming
    Replies: 3
    Last Post: 01-28-2005, 02:52 PM
  5. C diamonds and perls :°)
    By Carlos in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 05-16-2003, 10:19 PM