Skip to content

ReceiveSocketSettings

huggins edited this page May 3, 2023 · 4 revisions

Receive Socket Settings

Settings that all UDP Receive Sockets should contain.

struct FReceiveSocketSettings

Back to Top


Members

Type Name Description
bool AllowLoopback Whether or not this receive socket should receive traffic loopback.
int32 BufferSize The byte size of the buffer for this receive socket.
bool ReceiveDataOnGameThread Whether we should process our data on the gamethread or the UDP thread.
FString SocketDescription The description of this receive socket.
bool UseMulticast Whether or not this receive socket will be utilizing multicast.

Back to Top


Constructors

Access Name Description
FReceiveSocketSettings() Default constructor

Back to Top


Details

Allow Loopback

bool bAllowLoopback

Category: GRILL DIS|UDP Subsystem|Structs

Set to true to process packets sent by the local machine.

Back to Top


Buffer Size

int32 BufferSize

Category: GRILL DIS|UDP Subsystem|Structs

Byte size the buffer of the socket should have. Defaults to roughly 2MB.

Back to Top


Receive Data On Game Thread

bool bReceiveDataOnGameThread

Category: GRILL DIS|UDP Subsystem|Structs

Whether we should process our data on the gamethread or the UDP thread.

Back to Top


Socket Description

FString SocketDescription

Category: GRILL DIS|UDP Subsystem|Structs

Friendly description of what this socket is to be used for.

Back to Top


Use Multicast

bool bUseMulticast

Category: GRILL DIS|UDP Subsystem|Structs

Whether or not multicast should be used with this receive socket.

Back to Top


FReceiveSocketSettings

FReceiveSocketSettings()

Default constructor.

Back to Top


Clone this wiki locally