Re: Access named pipe in Windows XP
- From: "comcast" <kreggk@xxxxxxxxxxx>
- Date: Fri, 30 Dec 2005 17:14:07 -0800
"Jim" <donotreply@xxxxxxxxxxx> wrote in message
news:oc-dnZyzt_s9_ijeRVn-qw@xxxxxxxxxxxxxx
>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+]
.
- References:
- Access named pipe in Windows XP
- From: Jim
- Access named pipe in Windows XP
- Prev by Date: Re: Tcl vs. Lua
- Next by Date: Re: set character at string position
- Previous by thread: Re: Access named pipe in Windows XP
- Next by thread: set character at string position
- Index(es):
Relevant Pages
|