J
JTL.zheng
in one thread it's:
Global.socket_control = new
Socket(InetAddress.getByName("192.168.1.22"), 1234);
when the IP:192.168.1.22 does not exist, it will take so much time to
wait before throw a "time out exception"
how can I stop this waiting in another thread?
I have try "Global.socket_control.close()"
but it doesn't work because Global.socket_control is null
Thank you very much in advance
Global.socket_control = new
Socket(InetAddress.getByName("192.168.1.22"), 1234);
when the IP:192.168.1.22 does not exist, it will take so much time to
wait before throw a "time out exception"
how can I stop this waiting in another thread?
I have try "Global.socket_control.close()"
but it doesn't work because Global.socket_control is null
Thank you very much in advance