abstracted TcpSend & Recv class