dim TCP_IP as new TCPIPClient()
TCP_IP.connect("SHUHUI",5000)



With this code I am getting a error the message is

"No connection could be made because the target machine actively refused it"

Please let me know how to detect the clients empty port.