X-Git-Url: http://git.tdb.fi/?p=libs%2Fnet.git;a=blobdiff_plain;f=source%2Fcommunicator.h;h=409d42e02527c74e023a00cfbb5a691f90e8febc;hp=144f87210f40911e097114b14a86e35479d2a0ea;hb=a4f75be32827b00d9de9d8a68855fec2f5157a10;hpb=1b2aabf076169e6d2049227188e464e95ac40514 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)