Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   C++ (http://www.velocityreviews.com/forums/f39-c.html)
-   -   pipe blocked (http://www.velocityreviews.com/forums/t624383-pipe-blocked.html)

patricerolland 07-08-2008 09:58 AM

pipe blocked
 
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


All times are GMT. The time now is 10:41 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.