in reply to Re: how to join these interdependent codes???
in thread how to join these interdependent codes???

hey after i create a named pipe ..i need to give connect().but i cant have the code to write to pipe just next to connect(). so it should be like creating named pipe and waiting for connecting.while waiting for connecting..i should invoke a method to write on pipe..
  • Comment on Re^2: how to join these interdependent codes???

Replies are listed 'Best First'.
Re^3: how to join these interdependent codes???
by ikegami (Patriarch) on Aug 24, 2009 at 13:37 UTC

    hey after i create a named pipe ..i need to give connect().

    Do that after spawning the child.

    while waiting for connecting..i should invoke a method to write on pipe..

    No, write after you're connected.