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