|
-
May 17th, 2004, 01:11 PM
#1
How to check if port is available?
I need to be able to check if a communication given port is available. What is the best way to do it?
Thanks for your help!
-
May 17th, 2004, 01:14 PM
#2
Try to open it, and trap on error....
On the other hand is you want to enumerate the ports that EXIST, use the routines that are available via the DDK.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|