mattKnight
Programmer
I am stumped!
What i want to do is use NP to communicate between 2 (or ultimately more) PCs.
I can create, connect, read & write across 2 processes on the same PC ok. I hope that it will be easy to expand to a network environment
Where I can forsee a problem, is this pipe will be required to be connected at all times. Obviously, if (or when) the network glitches the connection will be lost! How can I recognise that the pipe has disconnected and thus re-create & re connect it?
The only way, I can see is to call ConnectNamedPipe in overlapped mode and test the result.
Is there a neater and more effecient way? (i.e. some mythical API called IsNamedPipeConnected would be good!)
Take Care
Matt
If at first you don't succeed, skydiving is not for you.
What i want to do is use NP to communicate between 2 (or ultimately more) PCs.
I can create, connect, read & write across 2 processes on the same PC ok. I hope that it will be easy to expand to a network environment
Where I can forsee a problem, is this pipe will be required to be connected at all times. Obviously, if (or when) the network glitches the connection will be lost! How can I recognise that the pipe has disconnected and thus re-create & re connect it?
The only way, I can see is to call ConnectNamedPipe in overlapped mode and test the result.
Is there a neater and more effecient way? (i.e. some mythical API called IsNamedPipeConnected would be good!)
Take Care
Matt
If at first you don't succeed, skydiving is not for you.