ESocketType

Indicates the type of socket being used (streaming or datagram)

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "SocketTypes.h"

Syntax

enum ESocketType
{
    SOCKTYPE_Unknown,
    SOCKTYPE_Datagram,
    SOCKTYPE_Streaming,
}

Values

Name

Description

SOCKTYPE_Unknown

Not bound to a protocol yet

SOCKTYPE_Datagram

A UDP type socket

SOCKTYPE_Streaming

A TCP type socket

Remarks

Indicates the type of socket being used (streaming or datagram)

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