Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PacketHandlers > StatelessConnectHandlerComponent
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/PacketHandlers/StatelessConnectHandlerComponent.h |
Include | #include "PacketHandlers/StatelessConnectHandlerComponent.h" |
Source | /Engine/Source/Runtime/Engine/Private/PacketHandlers/StatelessConnectHandlerComponent.cpp |
void GenerateCookie
&40;
const TSharedPtr< const FInternetAddr > & ClientAddress,
uint8 SecretId,
double Timestamp,
uint8(&) OutCookie
&41; const
Remarks
Takes the client address plus server timestamp, and outputs a deterministic cookie value
Parameters
Name | Description |
---|---|
ClientAddress | The address of the client, including port |
SecretId | Which of the two HandshakeSecret values the cookie will be based on |
TimeStamp | The serverside timestamp |
OutCookie | Outputs the generated cookie value. |