FSocket::Accept

Accepts a connection that is pending.

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "Sockets.h"

Syntax

FSocket * Accept
(
    FInternetAddr & OutAddr,
    const FString & InSocketDescription
)

Remarks

Accepts a connection that is pending.

Returns

The new (heap-allocated) socket, or nullptr if unsuccessful.

Parameters

Parameter

Description

OutAddr

The address of the connection.

SocketDescription

Debug description of socket.

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