|
|
@ -614,10 +614,10 @@ void TcpSend(int commid)
|
|
|
|
len = send(SioParam[commid].CommSock,(const char*)&SioParam[commid].WriteData->MsgData[plen], slen, 0);
|
|
|
|
len = send(SioParam[commid].CommSock,(const char*)&SioParam[commid].WriteData->MsgData[plen], slen, 0);
|
|
|
|
if(len > 0)
|
|
|
|
if(len > 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
printf("TcpSend: ");
|
|
|
|
/*printf("TcpSend: ");
|
|
|
|
for (i = 0; i < len; i++)
|
|
|
|
for (i = 0; i < len; i++)
|
|
|
|
printf("%02X ", SioParam[commid].WriteData->MsgData[plen + i]);
|
|
|
|
printf("%02X ", SioParam[commid].WriteData->MsgData[plen + i]);
|
|
|
|
printf("\n");
|
|
|
|
printf("\n");*/
|
|
|
|
if(len < slen)
|
|
|
|
if(len < slen)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(EINPROGRESS != errno)
|
|
|
|
if(EINPROGRESS != errno)
|
|
|
|