diff options
Diffstat (limited to 'src/modules/objects/class_socket.cpp')
-rw-r--r-- | src/modules/objects/class_socket.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/modules/objects/class_socket.cpp b/src/modules/objects/class_socket.cpp index 5b52ad4c..841a1f0f 100644 --- a/src/modules/objects/class_socket.cpp +++ b/src/modules/objects/class_socket.cpp @@ -583,7 +583,7 @@ bool KviKvsObject_socket::functionConnect(KviKvsObjectFunctionCall *c) KVSO_PARAMETER("remote_ip",KVS_PT_STRING,0,m_szRemoteIp) KVSO_PARAMETER("remote_port",KVS_PT_UNSIGNEDINTEGER,0,m_uRemotePort) KVSO_PARAMETERS_END(c) - debug ("Function connect"); + tqDebug ("Function connect"); if (m_uRemotePort>65535) @@ -605,13 +605,13 @@ bool KviKvsObject_socket::functionConnect(KviKvsObjectFunctionCall *c) if(kvi_isValidStringIp(m_szRemoteIp)) #endif { - debug ("ok connecting"); - debug ("connectinhg on ip %s ",m_szRemoteIp.latin1()); - debug ("non so ip"); + tqDebug ("ok connecting"); + tqDebug ("connectinhg on ip %s ",m_szRemoteIp.latin1()); + tqDebug ("non so ip"); m_iStatus = KVI_SCRIPT_SOCKET_STATUS_CONNECTING; delayedConnect(); } else { - debug ("connectinhg on ip %s port %d",m_szRemoteIp.latin1(),m_uRemotePort); + tqDebug ("connectinhg on ip %s port %d",m_szRemoteIp.latin1(),m_uRemotePort); m_iStatus = KVI_SCRIPT_SOCKET_STATUS_DNS; delayedLookupRemoteIp(); } @@ -863,7 +863,7 @@ void KviKvsObject_socket::delayedConnect() void KviKvsObject_socket::doConnect() { - debug ("doConnect function"); + tqDebug ("doConnect function"); if(m_pDelayTimer)delete m_pDelayTimer; m_pDelayTimer = 0; @@ -888,7 +888,7 @@ void KviKvsObject_socket::doConnect() // else it has already been called! return; } -debug ("Socket created"); +tqDebug ("Socket created"); // create the socket #ifdef COMPILE_IPV6_SUPPORT @@ -908,7 +908,7 @@ debug ("Socket created"); // else it has already been called! return; } - debug ("Valid socket"); + tqDebug ("Valid socket"); if(!kvi_socket_setNonBlocking(m_sock)) { @@ -949,7 +949,7 @@ debug ("Socket created"); return; } } - debug ("Socket connected"); + tqDebug ("Socket connected"); m_pDelayTimer = new TQTimer(); connect(m_pDelayTimer,TQT_SIGNAL(timeout()),this,TQT_SLOT(connectTimeout())); m_pDelayTimer->start(m_uConnectTimeout,true); @@ -979,7 +979,7 @@ void KviKvsObject_socket::delayedLookupRemoteIp() void KviKvsObject_socket::lookupRemoteIp() { - debug ("Resolve dns"); + tqDebug ("Resolve dns"); if(m_pDelayTimer)delete m_pDelayTimer; m_pDelayTimer = 0; if(m_pDns)delete m_pDns; @@ -1011,7 +1011,7 @@ void KviKvsObject_socket::lookupDone(KviDns *pDns) return; } m_szRemoteIp = pDns->firstIpAddress(); - debug ("Dns resolved in %s",m_szRemoteIp.latin1()); + tqDebug ("Dns resolved in %s",m_szRemoteIp.latin1()); delete m_pDns; m_pDns = 0; @@ -1020,7 +1020,7 @@ void KviKvsObject_socket::lookupDone(KviDns *pDns) void KviKvsObject_socket::writeNotifierFired(int) { - debug ("Here in the writeNotifierFired"); + tqDebug ("Here in the writeNotifierFired"); if(m_pSn) { delete m_pSn; @@ -1039,7 +1039,7 @@ void KviKvsObject_socket::writeNotifierFired(int) //sockError = 0; if(sockError != 0) { - //debug("Failed here %d",sockError); + //tqDebug("Failed here %d",sockError); //failed if(sockError > 0)sockError = KviError::translateSystemError(sockError); else sockError = KviError_unknownError; //Error 0 ? @@ -1077,7 +1077,7 @@ void KviKvsObject_socket::writeNotifierFired(int) void KviKvsObject_socket::readNotifierFired(int) { - debug ("here in the readNotifierFired"); + tqDebug ("here in the readNotifierFired"); //read data if((m_uInBufferLen - m_uInDataLen) < KVI_READ_CHUNK) { |