If (write==SOCKET_ERROR)//send failure
{
If (WSAGetLastError ()==WSAETIMEDOUT)
{
QDebug () & lt;
continue;
}
QDebug () & lt;
}
Output:
"Sento () failed:" 10013
Say use forbidden access permissions to access a socket, how to solve
CodePudding user response:
Right click your exe, the Run As AdministratorCodePudding user response:
CPP file, I have tried in Qt and dev again, the same mistake