Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UChildConnection
Description
Starts a graceful close. If net.EnableGracefulClose is true, waits longer for reliable RPCs to be acknowledged before fully cleaning up the connection. If net.EnableGracefulClose is false, immediately sends the control channel close bunch. Reliable RPCs may be lost.
Virtual Inheritance
- UNetConnection::GracefulClose → UChildConnection::GracefulClose
| Name | GracefulClose |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/ChildConnection.h |
| Include Path | #include "Engine/ChildConnection.h" |
| Source | /Engine/Source/Runtime/Engine/Private/NetConnection.cpp |
virtual void GracefulClose
(
FNetCloseResult && CloseReason
)
Parameters
| Name | Remarks |
|---|---|
| CloseReason | Specifies the reason for the Close |