FTcpSocketBuilder::Listening

Sets the socket into a listening state for incoming connections.

Windows
MacOS
Linux

References

Module

Networking

Header

/Engine/Source/Runtime/Networking/Public/Common/TcpSocketBuilder.h

Include

#include "Common/TcpSocketBuilder.h"

Syntax

FTcpSocketBuilder Listening
(
    int32 MaxBacklog
)

Remarks

Sets the socket into a listening state for incoming connections.

Returns

This instance (for method chaining).

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