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 &);