question

Juan Manuel Martinez avatar image
Juan Manuel Martinez asked

Client/Matchmake returns OK without IP

Hi there,

So this is the point, when I call Matchmake giving a valid LobbyID, the result is like this:

 

mResponse =
{
"code":200,
"status":"OK","
"data":{"PollWaitTimeMS":1000,"Status":"Waiting"

}

}"

 

How should I treat this result? Do I have to wait 1000ms in order to ask again the matchmaker If I can join the Lobby given ID?

 

Thanks,

 

Juan,

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

You should only encounter this response when you're attempting to join a session which doesn't have any available slots. In that case, yes, you should wait at least the Poll Wait Time, though since what you're doing is re-trying the same game session, I would recommend a scaling back-off retry - increase the time you wait after each failure, as it doesn't make any sense to keep re-trying this call every second while waiting for the slot to open up.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.