I’m having some difficulty wrapping my head around realtime clients and how they are different from the default client. I have a number of questions.
I read that “The client can create one or more realtime clients with the server.”
Why would I ever need more than one?
Also, each rtClient can have it’s own CreateStatus, which determines whether the user will be shown as online to others. If I have multiple realtime clients running simultaneously, will the user be shown as online multiple times? Does this mean each rtClient create it’s own presence?
If I have multiple rtClients running simultaneously, is it important for each one to use it’s own port? Will this create problems with the client user’s firewall?
I think all of this matters for when I try to figure out when to initialize rtClients in my program. Should I start an rtClient immediately upon authentication? Or should I wait to start the rtClient until the user creates or joins a match? If I wait, then the user doesn’t have an online status until they create/join a match, which doesn’t seem right. So does that mean I should start an rtClient immediately on authentication to handle the social functions, and start another rtClient when the user creates/joins a match?
I really appreciate any input here. It will help me understand how best to proceed in my work. Thanks!