diff --git a/ixwebsocket/IXSocketConnect.cpp b/ixwebsocket/IXSocketConnect.cpp index f191eae8..59ed76d4 100644 --- a/ixwebsocket/IXSocketConnect.cpp +++ b/ixwebsocket/IXSocketConnect.cpp @@ -91,10 +91,6 @@ namespace ix return -1; } } - - Socket::closeSocket(fd); - errMsg = "connect timed out after 60 seconds"; - return -1; } int SocketConnect::connect(const std::string& hostname,