mirror of
https://github.com/glest/glest-source.git
synced 2025-08-12 11:24:00 +02:00
added ip address for socket write errors
This commit is contained in:
@@ -1758,7 +1758,7 @@ bool Socket::isWritable(struct timeval *timeVal, bool lockMutex) {
|
||||
result = true;
|
||||
if(difftime(time(NULL),lastSocketError) > 1) {
|
||||
lastSocketError = time(NULL);
|
||||
SystemFlags::OutputDebug(SystemFlags::debugError,"SOCKET WRITE TIMEOUT In [%s::%s Line: %d] i = %d sock = %d\n",__FILE__,__FUNCTION__,__LINE__,i,sock);
|
||||
SystemFlags::OutputDebug(SystemFlags::debugError,"SOCKET WRITE TIMEOUT In [%s::%s Line: %d] i = %d sock = %d [%s]\n",__FILE__,__FUNCTION__,__LINE__,i,sock,ipAddress.c_str());
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user