Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to find number of COM Ports available ?  RSS feed

 
Laxmikant Kumbhare
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Please any body help me in "How to find number of COM Ports available"?


I will be using it on Windows 7......



 
Stephan van Hulst
Saloon Keeper
Posts: 6979
110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe the Java Communications API has a method in the CommPortIdentifier class that lists all available ports. This API is a Java extension, you can download a good implementation from http://rxtx.qbang.org.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!