X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fnet%2Fcommunicator.h;h=322d095a8ec3d1c1df5b258c25f65b3c88a713fa;hb=6625cf0e574406425c35d33110f8d99617e902df;hp=575ec84e6c3a0f2be7ea77039041a52b919c069d;hpb=92e8064d9f43ca3e28ce9832cfe475034ab98704;p=libs%2Fnet.git diff --git a/source/net/communicator.h b/source/net/communicator.h index 575ec84..322d095 100644 --- a/source/net/communicator.h +++ b/source/net/communicator.h @@ -33,13 +33,13 @@ private: StreamSocket &socket; const Protocol &protocol; ReceiverBase &receiver; - int handshake_status; - std::size_t buf_size; - char *in_buf; - char *in_begin; - char *in_end; - char *out_buf; - bool good; + int handshake_status = 0; + std::size_t buf_size = 65536; + char *in_buf = 0; + char *in_begin = 0; + char *in_end = 0; + char *out_buf = 0; + bool good = true; public: Communicator(StreamSocket &, const Protocol &, ReceiverBase &);