pipe blocked

Discussion in 'C++' started by patricerolland, Jul 8, 2008.

  1. hi all, how can i detect that a pipe is frozen in c++ ? I mean if for
    example the application that receives the pipe has a problem ? my code
    belowed :

    if (! CreatePipe(&hChildStdinRd, &poempdev->hChildStdinWr, &saAttr,
    0))
    ERR(ERRORTEXT("Error %d :Stdin pipe creation failed.\r
    \n"),GetLastError());

    if (!WriteFile(poempdev->hChildStdinWr, szBuf, cbBuffer, &poempdev-
    >dwResult, NULL))


    tks in advance
    Patrice Rolland
    patricerolland, Jul 8, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alejandra Parra

    is a file blocked?

    Alejandra Parra, Jul 9, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    454
    R.Balaji
    Jul 16, 2004
  2. Richard K Bethell

    Re: How to detect blocked cookies

    Richard K Bethell, Nov 24, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,959
    Guest
    Nov 25, 2003
  3. Richard
    Replies:
    3
    Views:
    3,569
    Craig Deelsnyder
    Jan 2, 2004
  4. lee, wonsun
    Replies:
    1
    Views:
    480
    Jack Klein
    Nov 2, 2004
  5. Replies:
    1
    Views:
    217
    Ben Morrow
    Jun 2, 2004
Loading...

Share This Page