hello all,
i have a client and a server application where the client sends gps coordinates to the server either via WiFi, or GSM (for now). I am trying to find which would be the best way to timestamp my packets so that the server would calculate the time difference between the time a packet was sent from the client and was received by the server.
if I use the usual DateTime.Now on the client it would not be accurate since the client would easily -and most probably- have different time from the server (the time difference might be negative!). I am not looking for the most accurate sollution down to the nanoseconds but a reasonable one ...
any ideas
many thanks!