Mercurial > 510Connectbot
diff src/com/five_ten_sg/connectbot/transport/TN5250.java @ 23:cfcb8d9859a8 tn5250
adding tn5250 files
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 03 Jun 2014 11:37:06 -0700 |
parents | b39bcf616a6f |
children | 017eeed8332c |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/transport/TN5250.java Tue Jun 03 10:40:11 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/transport/TN5250.java Tue Jun 03 11:37:06 2014 -0700 @@ -130,18 +130,12 @@ */ @Override public void connect() { - try { - connected = handler.connect(host.getHostname(), host.getPort()); + connected = handler.connect(host.getHostname(), host.getPort()); + if (connected) { is = handler.bin; os = handler.bout; bridge.onConnected(); } - catch (UnknownHostException e) { - Log.d(TAG, "IO Exception connecting to host", e); - } - catch (IOException e) { - Log.d(TAG, "IO Exception connecting to host", e); - } }