Solved

Named Pipe problem

Posted on 2003-11-04
3
326 Views
Last Modified: 2010-04-02
i have created namedpipe server and a client.The server creates the namedpipe properly, but when the client tries to use createfile() to open the namedpipe error says Bad N/W ..cant find the specified namedpipe.What cud be the reason.I am using local computer for cliant server.the name notation is \\\\.\\pipe\\pipename on server and \\\\machinename\\pipe\\pipename  on client
0
Comment
Question by:Poojam15
3 Comments
 
LVL 4

Accepted Solution

by:
YuriPutivsky earned 50 total points
Comment Utility
To establish pipe connection
On server side
1. CreateNamedPipe
2. ConnectNamedPipe

On client side
1. WaitNamedPipe
2. CreateFile
...
read/write
ReadFile/WriteFile

...
Disconnect

On server side
1. DisconnectNamedPipe
2. CloseHandle

On client side
1. CloseHandle
0
 
LVL 9

Expert Comment

by:tinchos
Comment Utility
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: YuriPutivsky {http:#9680768}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Tinchos
EE Cleanup Volunteer
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now