comparison src/ch/ethz/ssh2/transport/ClientTransportManager.java @ 336:63b23b7c840d ganymed

still hangs during connection
author Carl Byington <carl@five-ten-sg.com>
date Thu, 31 Jul 2014 14:58:57 -0700
parents 071eccdff8ea
children
comparison
equal deleted inserted replaced
335:e25e377d29d3 336:63b23b7c840d
44 super.init(tc, km); 44 super.init(tc, km);
45 km.initiateKEX(cwl, dhgex, null, null, null); 45 km.initiateKEX(cwl, dhgex, null, null, null);
46 this.startReceiver(); 46 this.startReceiver();
47 } 47 }
48 48
49 protected void connect(String hostname, int port, int connectTimeout) 49 protected void connect(String hostname, int port, int connectTimeout) throws IOException {
50 throws IOException { 50 log.debug(String.format("client transport manager connecting to %s:%d", hostname, port));
51 sock.connect(new InetSocketAddress(hostname, port), connectTimeout); 51 sock.connect(new InetSocketAddress(hostname, port), connectTimeout);
52 log.debug(String.format("client transport manager connected to %s:%d", hostname, port));
52 } 53 }
53 } 54 }