Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Port in use


1 reply to this topic

ramakrishna

ramakrishna
  • Members
  • 1 posts

Posted 08 October 2004 - 08:23

Hi all,

Iam developing the setup using InstallShieldX for my web based application. Iam using Tomcat as web server. So Iam asking the user on which port to run the web services. Now what ever the port the user enters, I need to check if its already in use. How can I do this?

Eyal

Eyal
  • Members
  • 3 posts

Posted 15 November 2004 - 14:44

Try to open a socket with this port, and based on the success (free) or failure (occupied) - return the value.