Hi,
Now i use 3200 as a tcp client.
I set 3200 as blocked.I wait to recive data,using sl_Recv(tcpclient_iSockID, recv_buf, TR_BUFF_SIZE, 0);
When i shutdown the tcpserver.Follow is the packets.
As we know ,disconnect will through four times handshake.Clearly the above picture show it is not four times handshake.
But now sl_Recv is still blocked and not recive 0.So i can't judge the connect is disconnect.
If i set the tcp socket as ricive time out,I will recive 0 that the sl_Recv returned.
So how can i judge the disconnect,as tcpsocket blocked.