FSocket::Listen

Places the socket into a state to listen for incoming connections.

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "Sockets.h"

Syntax

bool Listen
(
    int32 MaxBacklog
)

Remarks

Places the socket into a state to listen for incoming connections.

Returns

true if successful, false otherwise.

Parameters

Parameter

Description

MaxBacklog

The number of connections to queue before refusing them.

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