FSocketDeleter

Deleter object that can be used with unique & shared pointers that store FSockets.

Choose your operating system:

Windows

macOS

Linux

References

Module

Sockets

Header

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

Include

#include "SocketSubsystem.h"

Syntax

class FSocketDeleter

Remarks

Deleter object that can be used with unique & shared pointers that store FSockets. The SocketSubsystem must be valid when the call operator is invoked!

Constructors

Name Description

Public function

FSocketDeleter()

Public function

FSocketDeleter

(
    ISocketSubsystem* InSubsystem
)

Operators

Name Description

Public function Const

void

 

operator()

(
    FSocket* Socket
)