Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualsavail

Posted 29 June 2013 - 06:21 AM

Hey,

I'm using ENet in my game and found out that the method ENetPeer::roundTripTime returns much higher RTT from the genuine value I guess. I measured RTT by my own - sending a reliable packet and getting it back took about 40 - 50 ms while ENetPeer::roundTripTime returns about 300 ms. Why is that happening? I guess the right value is 40 - 50 but why ENet gives so high RTT? It lacks documentation on this matter and I'm not sure whether it's my fault or I don't understand sth?


#1savail

Posted 29 June 2013 - 06:13 AM

Hey,

I'm using ENet in my game and found out that the method ENetPeer::roundTripTime() returns much higher RTT from the genuine value I guess. I measured RTT by my own - sending a reliable packet and getting it back took about 40 - 50 ms while ENetPeer::roundTripTime() returns about 300 ms. Why is that happening? I guess the right value is 40 - 50 but why ENet gives so high RTT? It lacks documentation on this matter and I'm not sure whether it's my fault or I don't understand sth?


PARTNERS