Data sending for client and fix to sendAll