This commit is contained in:
Damian Korczowski
2021-03-08 00:16:42 +01:00
parent 7106dc738b
commit 75a02beda0
3 changed files with 6 additions and 0 deletions

View File

@@ -12,4 +12,6 @@ public:
uint16 Port = 7777;
uint16 MessageSize = 1500; // MTU
uint16 MessagePoolSize = 2048; // (RX and TX)
// TODO: End point for server/client
};

View File

@@ -23,6 +23,9 @@ public:
API_FUNCTION() static void AbortSendMessage(const NetworkMessage& message);
API_FUNCTION() static bool EndSendMessage(NetworkChannelType channelType, const NetworkMessage& message, Array<NetworkConnection, HeapAllocation> targets);
// TODO: Stats API
// TODO: Simulation API
private:
static NetworkMessage CreateMessage();

View File

@@ -3,6 +3,7 @@
#pragma once
enum class NetworkChannelType;
enum class NetworkEventType;
class INetworkDriver;