CreateUniqueSocket

Overload list

Windows
MacOS
Linux
Name Description

Public function

FUniqueSocke...

 

CreateUniqueSocket

(
    const FName& SocketType,
    const FString& SocketDescription,
    bool bForceUDP
)

Creates a socket wrapped in a unique pointer that will call DestroySocket automatically - do not call it explicitly! This SocketSubsystem must also outlive the sockets it creates.

Public function

FUniqueSocke...

 

CreateUniqueSocket

(
    const FName& SocketType,
    const FString& SocketDescription,
    const FName& ProtocolName
)

Creates a socket using the given protocol name, wrapped in a unique pointer that will call DestroySocket automatically - do not call it explicitly! This SocketSubsystem must also outlive the sockets it creates.

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