Quick Description
On my server, clients with a not very stable internet connection or a stable one but with a proxy have a problem that after a micro cut or connection problem, they stop receiving all TCP packets. While with UDP they have no problems.
Explanation
Clients connect to the server via the default port (4296) and after a certain time, they stop receiving TCP packets from the server, without the server detecting them as disconnected. While this happens, the clients continue receiving UDP packets without problems.
This happens when the server is remote, due to possible packet loss.
I have noticed that if I run the server locally, and with a tool like clumsy, I simulate packet loss, the problem also occurs.
Quick Description
On my server, clients with a not very stable internet connection or a stable one but with a proxy have a problem that after a micro cut or connection problem, they stop receiving all TCP packets. While with UDP they have no problems.
Explanation
Clients connect to the server via the default port (4296) and after a certain time, they stop receiving TCP packets from the server, without the server detecting them as disconnected. While this happens, the clients continue receiving UDP packets without problems.
This happens when the server is remote, due to possible packet loss.
I have noticed that if I run the server locally, and with a tool like clumsy, I simulate packet loss, the problem also occurs.