Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > pipe blocked

Reply
Thread Tools

pipe blocked

 
 
patricerolland
Guest
Posts: n/a
 
      07-08-2008
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Site to open the blocked sites and blocked and encoded alagmy2030 Javascript 0 02-11-2011 11:54 PM
blocked ports J Lunis Wireless Networking 0 07-26-2005 03:55 PM
Blocked Port Old Ranger Wireless Networking 0 02-27-2005 06:41 PM
[named pipe] i wanna know about validate of pipe handle of client lee, wonsun C++ 1 11-02-2004 04:29 AM
Why does IO::Pipe::END generate an EXCEPT pipe message? lvirden@gmail.com Perl Misc 1 06-02-2004 02:17 PM



Advertisments