Download

Send binary data from server to clients

I’m looking for a way to send binary data about a randomly generated map’s layout from the server to clients. The map would be generated and saved to a file similarly to how it’s done in this article: A new, community-hosted Unreal Engine Wiki - Announcements and Releases - Unreal Engine Forums,Read%26_Write_Any_Data_to_Compressed_Binary_Files.

I may not necessarily even send a file, but keep the buffer loaded in memory so that clients get sent that buffer when they log in. Then the client recreates the level.

I could, in theory, just send the seed instead and have the client recreate the map that way, but generating a map can sometimes take a while, and just loading from a known layout should be faster.