Subj : Serial port query
To   : all
From : Darin McBride
Date : Thu Aug 03 2000 05:37 pm

Hello !

I've been asked how to do something I'm at a loss as to where to start - if
it's possible at all.  To quote the person asking me:

Is there a way 1. to check the state of a port, 2. determine the application
using it?

By #1, I believe he means "determine if a comm port was in use".

Any ideas whatsoever would be appreciated.  I believe #1 can be done by an
attempt to open the port as a file in "DENY_ALL" mode - if it fails, someone is
using it.  I don't believe #2 is possible.  If I could be corrected, that would
be great.  :-)

Thanks,

Darin

---
* Origin: Tanktalus' Tower BBS (1:250/102)