FUdpSocketReceiver::FUdpSocketReceiver

Creates and initializes a new socket receiver.

Windows
MacOS
Linux

References

Module

Networking

Header

/Engine/Source/Runtime/Networking/Public/Common/UdpSocketReceiver.h

Include

#include "Common/UdpSocketReceiver.h"

Syntax

FUdpSocketReceiver
(
    FSocket * InSocket,
    const FTimespan & InWaitTime,
    const TCHAR * InThreadName
)

Remarks

Creates and initializes a new socket receiver.

Parameters

Parameter

Description

InSocket

The UDP socket to receive data from.

InWaitTime

The amount of time to wait for the socket to be readable.

InThreadName

The receiver thread name (for debugging).

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