Provision for sending the data to all the clients

Introduced the provision to send the data to all the clients in the
group. Fixed a warning in client.