Skip to content

Ping measurement for CM and GC servers #1079

@knkitten

Description

@knkitten

Аfter successful login I get a message EMsg.ClientCMList. This message contains (in my case) 80 CM server addresses (uint32_t *cm_addresses and uint32_t *cm_ports arrays). I want to choose among all of them the best CM server in terms of minimum latency. What can be used to do this?

I am also interested in this question but with GC (Dota2). First of all, do we have a choice of GC like CM server? To establish a session with the GC I send first EMsg.ClientGamesPlayed with game_id = 570 and after receiving EMsg.ClientPlayingSessionState with playing_app = 570 I send EMsg.GCClientHello and wait EMsg.GCClientWelcome. Аfter that, I want the GC response to be as quick as possible. Do I understand correctly that this only depends on the right choice of CM server (with the lowest ping)?

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