ESocketType

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

Choose your operating system:

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)