hello everybody!
i am developing a client/server application for streaming audio in linux..
i have already implemented the mp3 player and buffering...
could anybody tell me how to create threads so that the child process continues to receive the audio buffer packets while the decoding of the received buffer is done by the parent process...
as far as my understanding i think will have to use fork() to create a child process(but here a copy of the whole process will be made )..CAN the child process
access the variables of the child process and vice versa?
also is it possible for me to create a new process containing of only the code to receive the incoming buffer packets and then the parent acting upon the buffer received..
could u also send me a small piece of code of whatever suggestion so i can get along quickly?
plz help this is urgent...
thanx
sameer