|
@@ -97,6 +97,7 @@ class Connection {
|
|
try{
|
|
try{
|
|
cnx.connect( new neko.net.Host(host), port );
|
|
cnx.connect( new neko.net.Host(host), port );
|
|
}catch( e : Dynamic ){
|
|
}catch( e : Dynamic ){
|
|
|
|
+ cnx.close();
|
|
throw ConnectionError(host,port);
|
|
throw ConnectionError(host,port);
|
|
}
|
|
}
|
|
debug("socket connected");
|
|
debug("socket connected");
|