thanks for reply.
this send_data function seems to be suitable, but i dont understand it fully. as far as i understand from the reference i can understand the following code as following:

typedef struct MYDATA {
int test_int[20][20[3];
var _test_var[20][20[3];


} MYDATA;


that was the definition
so how to fill the metrices with data? i use 2 for loops to insert the data into the matrices. how to do it in this case?

then i send the data with from every client by

// sending data
send_data_to(NULL,mydata,sizeof(MYDATA));

with following function every client should get the data

//receiving data
function on_client_event(void* buffer)
{
if (event_type == EVENT_DATA)
memcpy(mydata,buffer,sizeof(MYDATA));
}

now the second question how to access the data stored in tis 2 matrices that were reiceved with the data?

would be greatefull for any help.
thanks