serial port sniffer ( spy or monitor)
-
Friends ! I need help ! I have to write a programme in C++ which can listen or sniff the serial port, but without opening the port. The sniffer and the programme which communicates through the serial port has to be on the same PC, I have to write a program which can read ( or listen ) the data that goes out and comes in from the serial port, BUT NOT TO OPEN THE PORT, to let communication programmes communicate through serial ports. If anyone has an idea how to write this sniffer programme, please send me a advise. Many thanks ! Szilard SZ -- modified at 6:08 Thursday 2nd March, 2006
-
Friends ! I need help ! I have to write a programme in C++ which can listen or sniff the serial port, but without opening the port. The sniffer and the programme which communicates through the serial port has to be on the same PC, I have to write a program which can read ( or listen ) the data that goes out and comes in from the serial port, BUT NOT TO OPEN THE PORT, to let communication programmes communicate through serial ports. If anyone has an idea how to write this sniffer programme, please send me a advise. Many thanks ! Szilard SZ -- modified at 6:08 Thursday 2nd March, 2006
Don't cross-post. Your question is C++ related so it has to stay on the Visual C++ forum, it doesn't belong to this forum (which is for managed).
-
Friends ! I need help ! I have to write a programme in C++ which can listen or sniff the serial port, but without opening the port. The sniffer and the programme which communicates through the serial port has to be on the same PC, I have to write a program which can read ( or listen ) the data that goes out and comes in from the serial port, BUT NOT TO OPEN THE PORT, to let communication programmes communicate through serial ports. If anyone has an idea how to write this sniffer programme, please send me a advise. Many thanks ! Szilard SZ -- modified at 6:08 Thursday 2nd March, 2006
Why do they have to be on the same PC? If they really don't then make a cable that taps wires TX, RD and Ground (on a 25 pin I think that's 2 3 and 7). Hook the taped lines to the com port on the other machine and you can monitor the traffic.
-
Friends ! I need help ! I have to write a programme in C++ which can listen or sniff the serial port, but without opening the port. The sniffer and the programme which communicates through the serial port has to be on the same PC, I have to write a program which can read ( or listen ) the data that goes out and comes in from the serial port, BUT NOT TO OPEN THE PORT, to let communication programmes communicate through serial ports. If anyone has an idea how to write this sniffer programme, please send me a advise. Many thanks ! Szilard SZ -- modified at 6:08 Thursday 2nd March, 2006
there is a program that allows you to do just that, and it's free. That program is called: "PortMon" and it comes in a suite of moitoring software such as FileMon, RegMon etc. ---- www.muzikstor.com