mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-24 01:25:41 +08:00
Improve the M17 networking.
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "RingBuffer.h"
|
||||
#include "UDPSocket.h"
|
||||
|
||||
#include <random>
|
||||
#include <cstdint>
|
||||
|
||||
class CM17Network {
|
||||
@@ -50,7 +51,10 @@ private:
|
||||
unsigned int m_addrLen;
|
||||
bool m_debug;
|
||||
bool m_enabled;
|
||||
uint16_t m_outId;
|
||||
uint16_t m_inId;
|
||||
CRingBuffer<unsigned char> m_buffer;
|
||||
std::mt19937 m_random;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user