|
|
@ -3635,6 +3635,8 @@ void *thread_Timer_proc(void *arg)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
g_Tcp.tcpCloseSocket(g_IecCtrl.sockid);
|
|
|
|
g_Tcp.tcpCloseSocket(g_IecCtrl.sockid);
|
|
|
|
g_IecCtrl.isConnect = false;
|
|
|
|
g_IecCtrl.isConnect = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vPrtLogMsg(LOG_DEBUG, 0, "Wait for U RESP timeout: TxCounter=%d LastAckTx=%d > 6, close the socket", g_IecCtrl.TxCounter, g_IecCtrl.LastAckTx);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// g_IecCtrl.timer_Confirmflag = true;
|
|
|
|
// g_IecCtrl.timer_Confirmflag = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|