Mercurial > 510Connectbot
comparison app/src/main/java/com/five_ten_sg/connectbot/service/TerminalMonitor.java @ 492:e88d48be89a8
add TCP_NODELAY to the monitor socket
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 15 Feb 2022 13:45:57 -0800 |
parents | 3a83f40439d7 |
children | f698820bffdf |
comparison
equal
deleted
inserted
replaced
491:c89833b1614b | 492:e88d48be89a8 |
---|---|
207 tries = tries + 1; | 207 tries = tries + 1; |
208 } | 208 } |
209 } | 209 } |
210 if (monitor_socket != null) { | 210 if (monitor_socket != null) { |
211 Log.i(TAG, "connected to monitor socket, send init " + init); | 211 Log.i(TAG, "connected to monitor socket, send init " + init); |
212 monitor_socket.setTcpNoDelay(true); | |
212 monitor_in = monitor_socket.getInputStream(); | 213 monitor_in = monitor_socket.getInputStream(); |
213 monitor_out = monitor_socket.getOutputStream(); | 214 monitor_out = monitor_socket.getOutputStream(); |
214 monitor_reader = new MyReader(monitor_in); | 215 monitor_reader = new MyReader(monitor_in); |
215 monitor_reader.start(); | 216 monitor_reader.start(); |
216 String x = " " + init; | 217 String x = " " + init; |