sharing a buffer both in receiving and in sending.