| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Remote Pipe Question... |
Hello Joel!
Monday February 05 1996 21:20, Joel Downer wrote to All:
JD> Anyway, this afternoon I got a report that my game was failing to create
JD> a remote pipe (returning error 3, or invalid pathname). My code allows
JD> the sysop to specify the pipe name so that he/she can include a server
JD> name, and the sysop here appears to be using the correct one given the
JD> server name of sys2:
PE>> \\sys2\pipe\oxpipe
Ok, first of all. You never actually "create" a remote pipe. You
create a local pipe (ie. the name is like '\PIPE\MyPipe') which can be
opened from a remote workstation (name is like '\\MyServer\PIPE\MyPipe').
JD> sprintf(pipename, "%s.%d", od_control.od_pipe_name,
od_control.od_node);
I'm unfamiliar with your program (I probably should get around to
installing a few doors ;-) I'm not sure what exactly you are doing.
However, what you want to end up with is:
On machine 'sys2': DosCreateNPipe("\\pipe\\oxpipe.0",...);
On the client : DosOpen("\\sys2\\pipe\\oxpipe.0",...);
JD> Now... I'm a relative novice at OS/2 LAN setup (I just set up a simple
JD> Warp Connect Peer LAN for file and printer sharing a couple months
JD> ago, and I don't run my BBS across the LAN) but when I try to create a
JD> pipe on my server (pipename: \\BBSSERV\PIPE\OXPIPE), I'm getting the
JD> same error.
Same problem. Only specify the machine name in DosOpen.
Doug
--- GoldED/2 2.50+
* Origin: Realm of the Dragons - `Where thy mind hath no limits' (1:250/516)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 7877/2809 @PATH: 250/516 101 99 3615/50 396/1 270/101 712/515 711/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™.