diff options
author | cbdev <cb@cbcdn.com> | 2018-03-02 03:08:32 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2018-03-02 03:08:32 +0100 |
commit | be5df1c4e639ca6a7cd70a3122039a1de4588e28 (patch) | |
tree | 4259066960708f18b6b053fff9138c2c32b98b30 /sacn.h | |
parent | f307934129e4f5310cbd89ec739d47b0e031951f (diff) | |
download | midimonster-be5df1c4e639ca6a7cd70a3122039a1de4588e28.tar.gz midimonster-be5df1c4e639ca6a7cd70a3122039a1de4588e28.tar.bz2 midimonster-be5df1c4e639ca6a7cd70a3122039a1de4588e28.zip |
Implement keepalive frames
Diffstat (limited to 'sacn.h')
-rw-r--r-- | sacn.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,6 +13,7 @@ static int sacn_shutdown(); #define SACN_PORT "5568" #define SACN_RECV_BUF 8192 +#define SACN_KEEPALIVE_INTERVAL 2000 #define SACN_DISCOVERY_TIMEOUT 9000 #define SACN_PDU_MAGIC "ASC-E1.17\0\0\0" @@ -59,6 +60,7 @@ typedef struct /*_sacn_socket*/ { uint8_t flags; size_t universes; uint16_t* universe; + uint64_t* last_frame; } sacn_fd; #pragma pack(push, 1) |