From a4f75be32827b00d9de9d8a68855fec2f5157a10 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 6 Apr 2011 07:10:43 +0000 Subject: [PATCH] Add function to check if handshake is done --- source/communicator.h | 1 + 1 file changed, 1 insertion(+) diff --git a/source/communicator.h b/source/communicator.h index 144f872..409d42e 100644 --- a/source/communicator.h +++ b/source/communicator.h @@ -35,6 +35,7 @@ public: ~Communicator(); void initiate_handshake(); + bool is_handshake_done() const { return handshake_status==2; } template void send(const P &pkt) -- 2.43.0