Network: Changed timeout for receiving packets to 100ms
This commit is contained in:
parent
253d3dd3d8
commit
77df82f5d6
5 changed files with 50 additions and 43 deletions
|
@ -30,8 +30,7 @@ const MacAddress NoPreferredMac = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
|
|||
constexpr MacAddress BroadcastMac = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
|
||||
|
||||
// The different types of messages that can be sent. The first byte of each packet defines the type
|
||||
using MessageID = u8;
|
||||
enum RoomMessageTypes {
|
||||
enum RoomMessageTypes : u8 {
|
||||
IdJoinRequest = 1,
|
||||
IdJoinSuccess,
|
||||
IdRoomInformation,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue