I have a problem: I have a script that needs to check if a tcp port is used. if its not used it shall start a program, if the port is used it should do nothing.
The tcp port I want to check is 5555.
I read something about winsock but didnt really get anywhere :s.
I could do it by using the netstat ?command and put the output in a file but thats taking to long as it needs to be done under 300ms (milisecounds).
The grift is strong in this one, like his NFT's and coins.
America is broken on all levels, but some people will fall for this and call it the best phone ever.....
Also.....
Why in god's name would you transfer all files to OneDrive -first- to download it back again later on another disk?
This one is a bit on the user, as a simple external drive would have prevented all this.
But yes, it blows when this happens and you have not made backups of your data somewhere else too.
Always 3-2-1 people. Do not rely on one backup for your stuff.
It sounds to me that this user was locked out of their account due to something they uploaded to OneDrive which doesn’t have anything to do with their account being linked to a MSA.
We have no way of knowing what they uploaded or the real reason their account was suspended. Let me guess the solution is to use the products you are promoting?
Question
eccofresh
Hi,
I have a problem: I have a script that needs to check if a tcp port is used. if its not used it shall start a program, if the port is used it should do nothing.
The tcp port I want to check is 5555.
I read something about winsock but didnt really get anywhere :s.
I could do it by using the netstat ?command and put the output in a file but thats taking to long as it needs to be done under 300ms (milisecounds).
thx in advance!
Link to comment
https://www.neowin.net/forum/topic/337251-vbscript-check-if-tcp-port-is-open/Share on other sites
4 answers to this question
Recommended Posts