arrangement TcpClient code