Problems with named pipes

M

mikes1962

I'm not sure this is the correct group but at least is is a start. I'm
trying to use a named pipe to
communicate between 2 processes on 2 networked computers. I can create
the pipe on the server side
with no problems. However the CreateFile call fails. The pipe name is
"message_traffic" the server computer name is "mslsim" and the the
file name I am using is "\\mslsim\pipe\message_traffic". Everthing
I've read so far would indicate that this should not be a problem If
anyone has any suggestions I would appreciate it.

Thanks

Mike
 
W

William DePalo [MVP VC++]

mikes1962 said:
However the CreateFile call fails. The pipe name is
"message_traffic" the server computer name is "mslsim" and the the
file name I am using is "\\mslsim\pipe\message_traffic". Everthing
I've read so far would indicate that this should not be a problem If
anyone has any suggestions I would appreciate it.

Questions anout the native Win32 API ought to be posted in

microsoft.public.win32.programmer.kernel

That said, if you are using a string literal in C or C++ you must double up
on the back slashes. What does GetLastError() return?

Regards,
Will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top