From b85c1a60bf7f27e37fe2a86b26aa83ff198e208e Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sun, 28 Jun 2020 22:18:57 +0200 Subject: server/protocol: Protocol version negotiation --- main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index 77237bf..78c98cb 100644 --- a/main.c +++ b/main.c @@ -125,6 +125,8 @@ static bool server_socket_callback(int fd){ } static bool timeout_callback(int fd){ + // Note: this does not check the protocol version. If the protocol changes + // significantly regarding push messages, perhaps that should change. return net_send_raw_text(fd,"_push ping\n",11); } -- cgit v1.2.3-70-g09d2