NO SYN ACK reply for SYN

cancel
Showing results for 
Search instead for 
Did you mean: 

NO SYN ACK reply for SYN

Jump to solution
97 Views
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 Kudos
1 Solution
9 Views
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.

View solution in original post

1 Reply
10 Views
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.

View solution in original post