fifo

Dear friends
i'm want to implement a program which one file is split into fragments by the server (by some random size) and sent to some processes, so these processes get randomly the fragments of the original file from the server, then the downloader randomly connects to some of these processes and gets the fragments.
I want to know what technique to use, should i use message quees or i can simply use fifo and get the fragments using simple byte streams, what do u suggest?