UMoviePipelineExecutorBase::SendSocketMessage

Sends a socket message if the socket is currently connected.

Windows
MacOS
Linux

References

Module

MovieRenderPipelineCore

Header

/Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Public/MoviePipelineExecutor.h

Include

#include "MoviePipelineExecutor.h"

Source

/Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Private/MoviePipelineExecutor.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Movie Render Pipeline")
bool SendSocketMessage
(
    const FString & InMessage
)

Remarks

Sends a socket message if the socket is currently connected. Messages back will happen in the OnSocketMessageRecieved event.

Returns

True if the message was sent succesfully.

Parameters

Parameter

Description

InMessage

The message to send. This will be sent over the socket (if connected) with a 4 byte (int32) size prefix on the message so the recieving end knows how much data to recieve before considering it done. This prevents accidentally chopping json strings in half.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss