This commit is contained in:
cora32 2016-01-07 03:39:35 +03:00
parent 089b1595aa
commit 73d2b8c804

View File

@ -212,11 +212,11 @@ int pConnect(const char* ip, const int port, std::string *buffer,
|| res == CURLE_SEND_ERROR || res == CURLE_SEND_ERROR
|| res == CURLE_RECV_ERROR || res == CURLE_RECV_ERROR
) { ) {
if (gNegDebugMode) //if (gNegDebugMode)
{ //{
stt->doEmitionDebugFoundData("NConnect failed (curl_code: " + QString::number(res) + ") [<a href=\"" + QString(ip) + // stt->doEmitionDebugFoundData("NConnect failed (curl_code: " + QString::number(res) + ") [<a href=\"" + QString(ip) +
"/\"><font color=\"#0084ff\">" + QString(ip) + " Port:" + QString::number(port) + "</font></a>]"); // "/\"><font color=\"#0084ff\">" + QString(ip) + " Port:" + QString::number(port) + "</font></a>]");
} //}
SOCKET eNobuffSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); SOCKET eNobuffSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
shutdown(eNobuffSocket, SD_BOTH); shutdown(eNobuffSocket, SD_BOTH);
closesocket(eNobuffSocket); closesocket(eNobuffSocket);