How to Flush all COM port Buffers on PC ???
I am in need of urgent help in this regards. I want to flush the COM port buffers on my PC as per my requirements. I want to Do it in Perl ( if possible ) or from C++ exe file and do a system call from perl code to that exe file. 

Please do reply back ASAP, 


Thanks....
How to Flush all COM port Buffers on PC ???
===

I am in need of urgent help in this regards. I want to flush the COM port buffers on my PC as per my requirements. I want to Do it in Perl ( if possible ) or from C++ exe file and do a system call from perl code to that exe file. 

Please do reply back ASAP, 


Thanks....