try
This commit is contained in:
@@ -511,7 +511,7 @@ bool static ConnectSocketDirectly(const CService &addrConnect, SOCKET& hSocketRe
|
||||
else
|
||||
#endif
|
||||
{
|
||||
if ( nRet != 101)
|
||||
if ( NetworkErrorString(WSAGetLastError() != "101")
|
||||
LogPrintf("connect() to %s failed: %s\n", addrConnect.ToString(), NetworkErrorString(WSAGetLastError()));
|
||||
CloseSocket(hSocket);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user