protocol(p),
receiver(r),
handshake_status(0),
- buf_size(1024),
+ buf_size(65536),
in_buf(new char[buf_size]),
in_begin(in_buf),
in_end(in_buf),
while(more)
{
if(handshake_status==2)
- {
more = receive_packet(protocol, receiver);
- }
else
{
HandshakeProtocol hsproto;