Pipes or Socket Help

Robert Wesley Bingler (rwb3y@uvacs.cs.Virginia.EDU)
Sat, 18 Mar 1995 01:37:09 GMT

Hey,
Can someone lead me to a good example or explain some things
about using either sockets or pipes to communicate with forked processes?
I want to be able to read data from several forked processes when they
send info, but not wait for each individual process. I know select() is
what I'm looking for, but I couldn't figure out how to get it to work with
sockets.
On the other hand, I couldn't figure out how to create a pipe
with a forked process either. The pipe() function is to is supposed to
return a pair of file descriptors, but it only returns a pair of integers.
How should this work?

Thanks,
Rob

-- 
------------------------------------------------------------------------------
Robert Bingler     rwb3y@virginia.edu     http://uvacs.cs.virginia.edu/~rwb3y/  
             LINUX - That way cool program by that finnish dude
------------------------------------------------------------------------------