in reply to Re3: Tye, that does the job.
in thread How do I open a r/w named pipe as a file? *Should* be simple...
Gads, I'd love to, but now I'm home, and you say it doesn't work in W2K, and it's trivial in unix... So I guess I'm sitting on my hands for the moment... *grin*
However, in rough, I set up a couple of braindead pipe scripts (server and client) using the Win32::Pipe module first. Of course, it worked for that case. In fact, it works almost always on my dev box. When we try it on the server, Dr. Watson steps in.
I've never managed to crash perl before...
So I have the scripts talk to each other briefly. It works perversely well. I then replace the client pipe stuff with the Win32API::File code you showed me earlier. Now, when the client sends "garbage" to the server, the server reports that it got something like
Where the asterisk is actually a smiley-face extended character, and the brackets hint that there's at least one newline in the mess. I haven't done a character-by-character dump of the output yet.[garbage* ]
When the server responds to the client, the client shows only the smiley and newline, without the data I want.
Sheesh. This is probably either (1) never before seen or (2) some Windows-specific peculiarity I should already have figured out...it has that feel.
For completeness, I'm running AS build 620 on my dev box, NT4. The server was running 623/NT4. We downgraded the server to 620, no help.
|
|---|