[ENet-discuss] peer->roundTripTime

intripoon intripoon at gmx.de
Wed Dec 27 07:55:34 PST 2006


Hi !

I wonder about the peer->roundTripTime value. Between every pc in my local
network, all peers have a roundTripTime of 7 to each other, no matter what I
do. Shouldn't that be value be smaller? Even on one pc having two processes
connecting to each other by enet peers, that value is 7. I also tried
sending a high performance counter value from one process to the other to
check if it really takes 3.5 ms to send a packet - but it doesn't.

Somewhere I read, the rtt value is computed by comparing the time of a
reliably sent packet and it's returning ack packet. Do maybe ack packets get
delayed for some reason? Maybe waiting for more possible ack packets to be
sent? Maybe something like that explains the 7 ms?

Is there a way to configure enet to return a more correct value in this
case?

I'm not quite sure which version of enet I'm using. Is there a version
string somewhere? It's not too old though.

Best regards
	Marc



More information about the ENet-discuss mailing list