We are trying to connect two Hyper-V virtual machines through a serial port. Hyper-V provides the serial port as a named pipe for the host system and implements the end of the named pipe server. Therefore, to connect them, we need to write a named-pipe client that connects to both virtual machines and copies the data back and forth.
We wrote such an application . Unfortunately, this application is losing data .
If we connect two hypertherms and have their exchange data, the transmission sometimes succeeds, but in many cases the receiving side reports errors or transmits only deadlocks. Similarly, if we use a link to launch the kernel debugger, it also hangs often.
What could be causing data loss? What precautions should you take when connecting named pipes this way?
Change We worked on the problem using kdsrv.exe . The debuggee COM port continues to be displayed through the named pipe, however the end of the debugger is negotiating with kdserv over TCP.
Martin v. Lรถwis
source share