Files
UnrealEngineUWP/Engine/Source/Runtime/NetworkFile
Wojciech Krywult d630e5f179 CookOnTheFly (platform protocol): Game: Added an alternative way of sending cooked data to the game using platform-specific communication protocol.
Added IPlatformHostCommunication and IPlatformHostSocket interfaces allowing a game running on a target device to communicate with processes on the connected host PC. They are exposed via FPlatformMisc::GetPlatformHostCommunication(). The main feature is the ability to open socket-like connections to the host PC (IPlatformHostSocket), but it also allows launching processes on the host PC (on some platforms).

Not all platforms are required to provide this functionality, so IPlatformHostCommunication::Available() should be checked before using it.

Added a new transport protocol implementation (PlatformTransport derived from ITransport) to allow NetworkPlatformFile to use the above interfaces to send cooked data.

This new transport implementation is activated by running the game with '-filehostip=platform://' command-line argument.

The editor-side functionality will be submitted in a separate change.

#rb jeff.newquist
#preflight 6216507122019f882b06d30b

[CL 19092143 by Wojciech Krywult in ue5-main branch]
2022-02-23 10:45:38 -05:00
..