ESocketProtocolFamily

Indicates the socket protocol of socket being used, typically for BSD Sockets

Choose your operating system:

Windows

macOS

Linux

References

Module

Sockets

Header

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

Include

#include "SocketTypes.h"

Syntax

enum ESocketProtocolFamily
{
    None,
    IPv4,
    IPv6,
}

Values

Name

Description

None

No protocol family specification. Typically defined as AF_UNSPEC

IPv4

IPv4 and IPv6 respectively.

IPv6

Remarks

Indicates the socket protocol of socket being used, typically for BSD Sockets