Skip to content

Timestamp differs on localhost and remote client  #2

@leavittx

Description

@leavittx

Running driftsync server locally, and two driftsync C# clients: one on the same machine as the server and another one on a remote LAN machine.
I'm having a noticable difference in the global timestamp value on these two for some reason - about 40-50ms at least.

Please see this video: https://www.dropbox.com/s/z5578xmi9nyzabz/DriftSync_LocalAndRemote.MOV?dl=0
(the left one is the server)

I'm using SECONDS scale.
The time being sent from the server is starting from 0. Using simple code like that: packet.remote = localTime() - start_time; where uint64_t start_time = localTime(); before the server loop start.
Do you have any ideas on why that's happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions