Network: Made send async in RoomMember

This commit is contained in:
B3n30 2017-07-14 09:20:39 +02:00
parent 859be35d54
commit a0626221a5
4 changed files with 70 additions and 25 deletions

View file

@ -11,6 +11,8 @@
namespace Network {
constexpr u32 network_version = 1; ///< The version of this Room and RoomMember
constexpr u16 DefaultRoomPort = 1234;
constexpr size_t NumChannels = 1; // Number of channels used for the connection
@ -37,7 +39,9 @@ enum RoomMessageTypes {
IdWifiPacket,
IdChatMessage,
IdNameCollision,
IdMacCollision
IdMacCollision,
IdVersionMismatch,
IdCloseRoom
};
/// This is what a server [person creating a server] would use.