NO SYN ACK reply for SYN

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

NO SYN ACK reply for SYN

ソリューションへジャンプ
1,267件の閲覧回数
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 解決策
1,179件の閲覧回数
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 返信
1,180件の閲覧回数
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.