Allen Jiang wrote: > when I run the test case in Notebook PC ,the result is: > Waited: 1000 > Connected: false, > Also got exception: > java.net.ConnectException: Connection refused
It would seem that you get an explicit notification from the remote host about unavailability of service, and thus the wait is terminated. This seems reasonable.
