| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Named pipes #2... |
Hello All!
I am having a small problem here with named pipes.
When the server and the client app run on the same machine it works great,
but when server and client are on different machines, things start to break
down.
Creating the pipe is done with
DosCreateNPipe(PipeName,
Pipe,
NP_NOWRITEBEHIND OR NP_NOINHERIT OR NP_ACCESS_DUPLEX,
NP_WAIT OR NP_WMESG OR NP_READMODE_MESSAGE OR $01,
SizeOf(Messag),
SizeOf(Messag),
0);
Opening the pipe from the server is done with
if DosOpen(PipeName,
PipeHandle,
Action, //action taken
0,
0,
OPEN_ACTION_OPEN_IF_EXISTS,
OPEN_FLAGS_WRITE_THROUGH OR
OPEN_FLAGS_FAIL_ON_ERROR OR
OPEN_FLAGS_RANDOM OR
OPEN_SHARE_DENYNONE OR
OPEN_ACCESS_READWRITE,
nil)=0
Anyone ?
==> Gerard/2 - member of team os/2 - 1000521{at}ibk.fnt.hvu.nl
--- Fmail/2 1.02 Registered
* Origin: Living in interesting times (2:283/203.18)SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955 SEEN-BY: 712/407 515 517 628 713/888 800/1 @PATH: 283/203 2 512 280/801 270/101 712/515 711/808 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™.