const Protocol &protocol;
ReceiverBase &receiver;
int handshake_status;
- unsigned buf_size;
+ std::size_t buf_size;
char *in_buf;
char *in_begin;
char *in_end;
void send(const P &);
private:
- void send_data(unsigned);
+ void send_data(std::size_t);
void data_available();
bool receive_packet(const Protocol &, ReceiverBase &);