ESocketConnectionState

Indicates the connection state of the socket

Choose your operating system:

Windows

macOS

Linux

References

Module

Sockets

Header

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

Include

#include "SocketTypes.h"

Syntax

enum ESocketConnectionState
{
    SCS_NotConnected,
    SCS_Connected,
    SCS_ConnectionError,
}

Values

Name

Description

SCS_NotConnected

SCS_Connected

SCS_ConnectionError

Indicates that the end point refused the connection or couldn't be reached

Remarks

Indicates the connection state of the socket