FTcpListener::OnConnectionAccepted

Gets a delegate to be invoked when an incoming connection has been accepted.

Windows
MacOS
Linux

References

Module

Networking

Header

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

Include

#include "Common/TcpListener.h"

Syntax

FOnTcpListenerConnectionAccepted & OnConnectionAccepted()

Remarks

Gets a delegate to be invoked when an incoming connection has been accepted.

If this delegate is not bound, the listener will reject all incoming connections. To temporarily disable accepting connections, use the Enable() and Disable() methods.

Returns

The delegate.

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