Re: Access named pipe in Windows XP
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: Access named pipe in Windows XP

From: comcast <kreggk@comcast.net>
Date: Sat Dec 31 2005 - 02:14:07 CET

"Jim" <donotreply@nowhere.com> wrote in message
news:oc-dnZyzt_s9_ijeRVn-qw@comcast.com...
>I know this question came up before, but I don't see a clear answer to it.
>
> I want to write to a named pipe from my script, but the "open" function
> below doesn't seem to work.
>
> set p [open "\\\\.\\Pipe\\my_test_pipe" w]
>
> However, the open function in Perl works just fine:
> open(p, "> \\\\.\\Pipe\\my_test_pipe")
>
> Could anybody shed any light on this?
>
> TIA,
> Jim
>
>
>

I use a named pipe with w+ and it seems to be the working combination. Don't
know why it works but it does.
set pipe [open "\\\\$host\\pipe\\FISIMULATOR" w+]
Received on Tue Jan 3 03:09:55 2006