NO SYN ACK reply for SYN

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

NO SYN ACK reply for SYN

跳至解决方案
984 次查看
martinzhang
Contributor III

In my project, I used MQX and RTCS version is 4.2.02, the problem is:

Sometime, when my system received a TCP SYN package and the system will send out a RST message, the SYN ACK will not reply to that SYN message.

After the remote system retransmit the SYN, my system will reply a SYN ACK message.

 

I have checked the TCP connection number, in my system, the maximum allowed connection number is 5, when this no SYN ACK happened, the connection number is 3.

Someone can tell me why this happened and how can I fix this issue.

0 项奖励
1 解答
896 次查看
martinzhang
Contributor III

The problem is the setting of backlog in function listen. The backlog :Hint for the RTCS to determine the maximum number of pending established connections per listening socket. In old version, the backlog is 0, and the maximum number of pending established connections is 1 (backlog +1). Incrase this value, problem is sloved.

在原帖中查看解决方案

1 回复
897 次查看
martinzhang
Contributor III

The problem is the setting of backlog in function listen. The backlog :Hint for the RTCS to determine the maximum number of pending established connections per listening socket. In old version, the backlog is 0, and the maximum number of pending established connections is 1 (backlog +1). Incrase this value, problem is sloved.