Alex Rivera | Logout

In C# how could I listen to a COM (Serial) Port that is already open?

Asked 2008-12-10T23:51:09.270
10

I am using a program that talks to my COMM port, but I have made another program that I want to "sniff" the comm port messages and perform it's own actions against those messages in addition. Is this possible in .NET c#?

Edit
Report

1 Answer

6

There are third party libraries/tools/products that expose the traffic f you are interested.

Here is one I used for serial port emulation - but I think it provides something you can use: http://com0com.sourceforge.net/

answered 2008-12-11T01:08:54.073

Your Answer