Lapo wrote:Can you give us more details?
100% packets missing after the initial initUDP call?
Or after a certain amount of activity?
Are there long pauses during which the client is not sending or receiving any UDP packets? If that's the case it could be a matter of adding a small keep alive call between client and server to avoid the client silently recycle the ephemeral port (if no transmission is seen for a while).
Let us know
You are right, inactivity is the cause.
Will add a UDP keep alive packet.
How long does it take before the port is recycled?
Is it also possible to detect port being recycled on client side so the user can be disconnected?