🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer.misc
Article #219

Problem w/Pipe Broken Error

#219
From: Keith Bennett
Date: Fri, 12 Aug 1994 17:49
19 lines
1362 bytes
I'm using DosPeekNPipe() to determine when a process has died.  It seems
to work (that is, to return ERROR_BROKEN_PIPE) when the pipe in question
is remote (that is, when the 2 ends are on different machines connected
over LAN Server).

When the pipe is local, 0 is returned.

Anyone know why?  Is there a better way to determine if a process,
remote or local, has died?

Thanks...
- Keith


-- 
--------------------------------------------------------------------------
Keith Bennett                            Bennett Business Solutions, Inc.
C++/C Software Development               1852 Middlebridge Drive
kbennett@cpcug.org                       Silver Spring, MD USA 20906
Technical Details
Message-ID: <32gcml$83n@cpcug.org>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!news1.digex.net!digex.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11307a,faf6bf438587eff9,start
X-Google-Attributes: gid11307a,public
X-Google-Thread: 10cd94,faf6bf438587eff9,start
X-Google-Attributes: gid10cd94,public
X-Google-ArrivalTime: 1994-08-13 06:17:32 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!news1.digex.net!digex.net!not-for-mail
From: kbennett@cpcug.org (Keith Bennett)
Newsgroups: comp.os.os2.programmer.misc,bit.listserv.os2-l
Subject: Problem w/Pipe Broken Error
Date: 12 Aug 1994 13:49:09 -0400
Organization: Express Access Online Communications USA: 800-969-9090
Lines: 19
Message-ID: <32gcml$83n@cpcug.org>
NNTP-Posting-Host: cpcug.org