question

Heartman avatar image
Heartman asked

Allowed size of ServerDetails.IPV4Address

Hi,

The documentation at https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/matchmaking/backfill-tickets mentions:

"The IPV4Address field is not validated and may be used to supply arbitrary connection string information to clients."

How long is this string allowed to be?

10 |1200

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

Citrus Yan avatar image
Citrus Yan answered

There is no hard limit on this, theoretically, you can make it however long you want as long as you make sure the overall size of the CreateServerBackfillTicketRequest submitted to the Matchmaking system is under 65536(64k) bytes. Or you’ll receive the following message:

{

"code": 500,

"status": "InternalServerError",

"error": "InternalServerError",

"errorCode": 1110,

"errorMessage": "Received message larger than max ( xxxxxx vs. 65536)"

}

10 |1200

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

Heartman avatar image
Heartman answered

@Citrus Yan Is this 65kb the limit the same for other API as well? Such as CreateMatchmakingTicket

1 comment
10 |1200

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

Citrus Yan avatar image Citrus Yan commented ·

For other matchmaking APIs such as CreateServerMatchmakingTicket & CreateMatchmakingTicket, the answer is yes.

0 Likes 0 ·

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.