| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | UNC Named pipes - Huh ? |
Hi All,
What am I missing ?
I have written a program that takes requests from a program, and passes
them to another using named pipes (the reason being that the second prog
requires that the pipe be held open). The problem is that everything works
perfectly for a normal named pipe, but if a UNC pipe name is used (be it
for a pipe on the local or a remote machine), it doesn't work :(
I'm working in Borland Pascal 7 with the german compiler patch.
The pipe is created with :
rc:=DosMakeNmPipe(Pipe,{at}Handle,OPEN_ACCESS_READWRITE,
1,1024,1024,100);
And opened with :
rc:=DosWaitNmPipe(Temp,3000);
If rc0 then Writeln('Error ',rc,' waiting for pipe!');
S.Init(PrepSFName(Temp),StOpen);
Mike.
mnix{at}mikesbbs.omen.com.au
---
* Origin: A warped village by the superhighway (3:690/426)SEEN-BY: 620/243 632/348 640/820 690/245 254 370 380 420 426 430 500 613 660 SEEN-BY: 690/686 711/409 410 413 430 807 808 809 934 949 955 712/515 713/888 SEEN-BY: 800/1 7877/2809 @PATH: 690/426 380 660 711/409 808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.