Add basic network classes and message pooling

This commit is contained in:
Damian Korczowski
2021-03-07 23:50:04 +01:00
parent 4072796e54
commit 8f653fa699
11 changed files with 331 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
#pragma once
API_STRUCT() struct FLAXENGINE_API NetworkConfig
{
public:
INetworkDriver* NetworkDriver = nullptr;
public:
uint16 ConnectionsLimit = 32;
uint16 Port = 7777;
uint16 MessageSize = 1500; // MTU
uint16 MessagePoolSize = 2048; // (RX and TX)
};