N
NoOne
Hi everybody!
I'm want to check if a certain port is opened or closed.
now I'm using try-catch to connect to the port. if it fails, it meas that
the port is closed.
The problem is that this method is extremely inefficient! anyone has a
better idea on how to do this kind of verification?
Thanks!
I'm want to check if a certain port is opened or closed.
now I'm using try-catch to connect to the port. if it fails, it meas that
the port is closed.
The problem is that this method is extremely inefficient! anyone has a
better idea on how to do this kind of verification?
Thanks!