Update TCPClient.kt

master
Zhengyu Peng 3 years ago
parent a1b80ad5f9
commit 67ec4d4e29

@ -62,7 +62,7 @@ class TCPClient(
if (this.TCPOut != null && !this.TCPOut!!.checkError()) { if (this.TCPOut != null && !this.TCPOut!!.checkError()) {
println("send message") println("send message")
this.TCPOut!!.println(message) this.TCPOut!!.print(message)
this.TCPOut!!.flush() this.TCPOut!!.flush()
} }
} }

Loading…
Cancel
Save