33474cc6c0
The clients can connect and disconnect from the server with known no issues. There is no way to shutdown the server yet, but it might be possible to kick someone else from the server soon.
14 lines
242 B
C++
14 lines
242 B
C++
#ifndef NETWORKQUEUE_HPP_
|
|
#define NETWORKQUEUE_HPP_
|
|
|
|
#include "packet_type.hpp"
|
|
|
|
void beginQueueThread();
|
|
void endQueueThread();
|
|
void killQueueThread();
|
|
Packet peekNetworkPacket();
|
|
Packet popNetworkPacket();
|
|
void flushNetworkQueue();
|
|
|
|
#endif
|