Java network server and TIME_WAIT

后端 未结 3 1495
你的背包
你的背包 2021-01-15 20:17

I have run into a problem with a network server that receives signals from devices my company produces. The device will occasionally reuse the source port that it had just

3条回答
  •  心在旅途
    2021-01-15 21:20

    The server is ignoring the SYN packets from the client because it cannot distinguish between those for a new session using the old source port and retransmissions from the old session. If you circumvent the TIME_WAIT state on the server, by setting the system timer interval for aging out TIME_WAIT state entries in the control block table, then how will your server properly ignore SYN retransmissions for sessions that have already terminated?

提交回复
热议问题