![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Doubts on FIFO | Akshay | UNIX for Dummies Questions & Answers | 0 | 06-06-2008 07:56 AM |
| how to use fifo | atticus | High Level Programming | 3 | 06-05-2006 10:15 AM |
| FIFO Pipes | tej.buch | UNIX for Advanced & Expert Users | 4 | 02-11-2006 02:01 AM |
| FIFO over NFS | saabir | UNIX for Advanced & Expert Users | 2 | 08-06-2003 08:03 AM |
| Pipe & fifo.... | M3xican | High Level Programming | 4 | 07-20-2002 07:22 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
FIFO issue
hello i am making a client server program
that communicates via FIFOS and i cannot get it to not hang i also am forking exec-ing the client from the server my logic (i will spare you the code ) in the server i make two fifos in my server my file permissions are 0644 i then open both with O_RDWR i then fork and exec the client inside the client i open two fifos both with O_RDWR then begin a while loop to write and read from the server i understand that a FIFO hangs until a read has established itself but that is why i have the RDWR flag instead of read and write my questions are should i fork/exec first? do i need to mkfifos in the client as well even tho i am forking and execing can someone offer some insight i would really appreciate this has been a thorn in myside |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|