Hi all,
just wanna know if there is some NSIS lib to do that, or if I have to run my little shell script based on netstat.
Thks,
Gal'
Is XXX port already used ?
11 posts
I ran an unsuccessful search before. Thank you Afrow 😉
Gal'
Gal'
I've written a new function to test this. It works on 98 and above and NT4 SP4 and above.
It's used via LogicLib:
It's used via LogicLib:
${If} ${TCPPortOpen} 80
DetailPrint "a webserver is running"
${ElseIf} ${UDPPortOpen} 80
DetailPrint "a very peculiar webserver is running"
${EndIf}I'll upload it to the Wiki once it stops being so slow.Very nice 🙂
Stu
Stu
Working nice here, this is a better way to get it without calling netstat executable. Thks 😉
Gal'
Gal'
Just a question... did you plan to integrate this lib to later NSIS deliveries ?
Gal'
Gal'
Yes it is nice ... but.... I would like to know if ports.nsh will be included in \include directory or not (I need to describe a design documentation to describe how to set the NSIS development environment, including which plugin to download and so on...)
It is not planned ?
Gal'
It is not planned ?
Gal'
No, I don't plan to currently include it in the Include directory.
okay, thanks.