Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TCP/IP port scan

Status
Not open for further replies.

dm7941

Programmer
Sep 8, 2000
125
US
I have a specific piece of software that is licensed by port numbers. I have plenty of licenses for the people that need to use it, but the people may be a a large number of computers. The problem lies in that the port for a specific computer is set in the registry. I have implemented a very functional port scanner using the winsock control that attempts to connect to a port, if it succeeds, then it changes the registry and launches the app. The only real problem is the time delay to "release" the port. I had to put a 30 second countdown timer in the launcher to make sure the port would be free at the time of the application launch. Does anyone know a way to scan a port to see if it is in use without tying up the port? David Moore
dm7941@sbc.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top