|
@@ -157,7 +157,7 @@ class Socket {
|
|
|
socket_connect(__s, host.ip, port);
|
|
|
} catch( s : String ) {
|
|
|
if( s == "std@socket_connect" )
|
|
|
- throw "Failed to connect on "+(try host.reverse() catch( e : Dynamic ) host.toString())+":"+port;
|
|
|
+ throw "Failed to connect on "+host.toString()+":"+port;
|
|
|
else
|
|
|
cpp.Lib.rethrow(s);
|
|
|
}
|