Click here to Skip to main content
15,885,036 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello,

I am trying to solve a named pipes problem. I have a small wireless LAN (westell router is gateway). I have written a small client/server app in C. When the server is on a Win7 machine and the client is a Win XP (Pro, SP3), the app runs fine. The named pipe works as expected.

However, when I reverse the roles of the two machines the pipe fails. When the server is the XP machine and the client is the Win7 machine, the pipe fails. The code running on both machines is exactly the same and is invoked the same way by CMD.exe.

I have turned off the firewall on the XP machine.

I should also mention that the two machines can share files and printers without a problem.

I'm baffled.

Thanks for any suggestions you might have. I have googled until my fingers are sore.... perhaps an exaggeration.

Regards,
Mark Allyn
Posted
Comments
Henry Minute 16-Mar-11 19:11pm    
Does it fail with an error message, throw an exception or just silently.
HimanshuJoshi 16-Mar-11 20:52pm    
Put your error message and relevant code here and then we can try to help.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900