SFML community forums
Help => Network => Topic started by: alext94 on April 09, 2015, 12:57:18 am
-
When i send a packet the last think i put into the packet is the local time that it was sent. For this i am using chrono, but the problem is that it returns a INT64 which isn't supported. If I cast the data into a different type it just isn't precise enough! I cant use sf clock as I need to use the local time so i can measure the Round Trip time of the packet. So has any one had this problem and how did they get around it ?
-
And what makes you think that int64 is not supported?
http://www.sfml-dev.org/documentation/2.2/classsf_1_1Packet.php
-
Oh i'm using 2.0, should probably update.
-
You definitely should, there has been countless issues fixed since the 2.0 release. ;)
http://en.sfml-dev.org/forums/index.php?topic=76.msg86454#msg86454