Skip to content

Commit

Permalink
优化tcpclient
Browse files Browse the repository at this point in the history
  • Loading branch information
longqingzhao committed Feb 16, 2019
1 parent 6db82f9 commit 46386d6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public void startClient(String hostName, int port) {
while (!sc.finishConnect()) {
Thread.sleep(100);
}
Thread.sleep(100);
nioResponse.connectOk();
} catch (Exception e) {
if (nioResponse != null) {
Expand Down

0 comments on commit 46386d6

Please sign in to comment.