🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2407

Re: Programming with named pipes, again

#2407
From: Ben GOETTER
Date: Mon, 11 Feb 1991 09:15
13 lines
1085 bytes
In article <1991Feb04.070011.7873@eecs.wsu.edu> wbonner@yoda.eecs.wsu.edu (Wim Bonner) writes:
| 
| when I do a DosMakeNmPipe() with the file name being "/pipe/dfa/config.dfa"
| everything works fine.  When I add the name of the server to the beginning as
| page 680 of the OS/2 Reference Vol.1 says to do, I go from getting a return
| value of "0" to a return value of "3" which indicates a bad filename.

DosMakeNmPipe only works locally; since you cannot create a named pipe on
another server, the API doesn't comprehend UNC notation.  Your server app
is correct to use /pipe/dfa/config.dfa, sans servername.

--
Ben Goetter, microsoft!beng
Technical Details
Message-ID: <70590@microsoft.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!hybrid!scifi!bywater!uunet!microsoft!beng
References: <1991Feb04.070011.7873@eecs.wsu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!hybrid!scifi!bywater!uunet!microsoft!beng
From: beng@microsoft.UUCP (Ben GOETTER)
Newsgroups: comp.os.os2.programmer
Subject: Re: Programming with named pipes, again
Message-ID: <70590@microsoft.UUCP>
Date: 11 Feb 91 09:15:06 GMT
References: <1991Feb04.070011.7873@eecs.wsu.edu>
Reply-To: beng@microsoft.UUCP (Ben Goetter)
Organization: Microsoft, Network Development, UI
Lines: 13