ISocketSubsystem::GetProtocolFamilyFromName

Conversion functions from the SocketProtocolFamily enum to the new [FName](API\Runtime\Core\UObject\FName) system.

Choose your operating system:

Windows

macOS

Linux

References

Module

Sockets

Header

/Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h

Include

#include "SocketSubsystem.h"

Source

/Engine/Source/Runtime/Sockets/Private/SocketSubsystem.cpp

Syntax

virtual ESocketProtocolFamily GetProtocolFamilyFromName
(
    const FName & InProtocolName
) const

Remarks

Conversion functions from the SocketProtocolFamily enum to the new FName system. For now, both are supported, but it's better to use the FName when possible.