<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><h1><span style="font-weight: normal; white-space: pre-wrap;"><font face="Arial" size="2">Id like to join the discussion that had been started 3-4 months ago, because I experience the behaviour described by Stefan.</font></span></h1><div><span style="font-weight: normal; white-space: pre-wrap;"><font face="Arial" size="2">Monitoring an idle ENet connection with Wireshark reveals that each 500ms a 50B packet (real data is 8B - 4B length = 4B = </font></span><span style="font-family: Menlo; font-size: 11px;">ENetProtocolPing</span><span style="font-family: Arial; font-size: small; white-space: pre-wrap;">) is sent from the initiator of the connection</span></div><div><font face="Arial" size="2"><span style="white-space: pre-wrap;">to the server. The server immediately responds with PING (50B UDP packet, data = 8B).</span></font></div><div><font face="Arial" size="2"><span style="white-space: pre-wrap;">Immediately after that another packet is sent to the serverwith length 52B (real data is 10B, which makes 10B - 4B length = 6B = </span></font><span style="font-family: Menlo; font-size: 11px;">ENetProtocolSendReliable</span><span style="font-family: Menlo; font-size: 11px;">).</span></div><div><font face="Arial">The server responds immediately with another </font><span style="font-family: Menlo; font-size: 11px;">ENetProtocolSendReliable.</span></div><div><span style="font-family: Menlo; font-size: 11px;"><br></span></div><div><font face="Arial">This sequence of packets is repeated every 500ms. I understand the PING, but why is the other packet sent?</font></div><div><font face="Arial"><br></font></div><div><font face="Arial">P.S. The scheme looks like:</font></div><div><font face="Arial"><br></font></div><div><font face="Arial">Client Server</font></div><div><font face="Arial">>50B (ENetProtocolPing)</font></div><div><font face="Arial"><br></font></div><div><font face="Arial"><span style="font-weight: normal; white-space: pre-wrap;"> 50B(</span>ENetProtocolPing)<</font></div><div><font face="Arial"><br></font></div><div><font face="Arial">>52B(ENetProtocolSendReliable)</font></div><div><font face="Arial"><br></font></div><div><font face="Arial"> 52B(ENetProtocolSendReliable)<</font></div><div><font face="Arial"><br></font></div><div><span style="font-family: Menlo; font-size: 11px;"><br></span></div><div><span style="font-family: Menlo; font-size: 11px;"><br></span></div><div><span style="font-family: Menlo; font-size: 11px;">500ms</span></div><div><span style="font-family: Menlo; font-size: 11px;"><br></span></div><div><span style="font-family: Menlo; font-size: 11px;">the same repeats</span></div><div><span style="font-family: Menlo; font-size: 11px;"> </span></div><div><font face="Menlo"><span style="font-size: 11px;"><br></span></font></div><div><span style="font-family: Menlo; font-size: 11px;"><br></span></div><h1><span style="white-space: pre-wrap; font-family: Arial; font-size: small;"><br></span></h1><div><span style="white-space: pre-wrap; font-family: Arial; font-size: small;">Here is the initial email:</span></div><h1><span style="white-space: pre-wrap; font-family: Arial; font-size: small;">Hi Lee and thanks for your response!</span></h1><font face="Arial" size="2"><span style="white-space: pre-wrap;">But the ping functions get called (after modifying </span><br><span style="white-space: pre-wrap;">ENET_PEER_PING_INTERVAL) every ~30 seconds yet </span><br><span style="white-space: pre-wrap;">enet_peer_queue_incoming_command() is called every second or so on both </span><br><span style="white-space: pre-wrap;">sides. Wireshark shows packets of 50 and 52 bytes size being sent back </span><br><span style="white-space: pre-wrap;">and forth at the same rate.</span><br><span style="white-space: pre-wrap;">I'll check what types of commands those are.</span><br><span style="white-space: pre-wrap;"><br></span><span style="white-space: pre-wrap;">Sincerely,</span><br></font><pre style="white-space: pre-wrap;"><font face="Arial" size="2">Stefan</font></pre><div><br></div></body></html>