Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
How to check for a availability of port When Server address or IP address is given as input by a user. My Research: A custom action should be implemented A custom dialog should be created in Wix which has a editbox and save the text in a property Send the property value to the custom action Write a code to check for the available Ports.

Basically I should install a service on a specific port. My question would be to check for port is free or not through IP. Any suggestions and help is appreciated.

What I have tried:

I want to install a service by checking port availability.
Posted
Updated 24-Apr-16 19:55pm

1 solution

Hello,

Here is a nice[^] tip on this site.

Here is another[^] in CPP.

Regards,
Prasad P. Khandekar
 
Share this answer
 
v2
Comments
Member 11873265 25-Apr-16 2:02am    
I want a cpp custom action code as i couldn't implement a Csharp code due to upgradation issues. thanks for the suggesstion .
Prasad Khandekar 25-Apr-16 2:07am    
Check the second link I have just added in the solution.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900