mirror of
https://github.com/ChronosX88/nesca.git
synced 2024-11-23 18:52:19 +00:00
tset
This commit is contained in:
parent
089b1595aa
commit
73d2b8c804
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user