I am trying to send a msg from a socket that will be in the form on
double,int,int,int,int,...,int
N int values how can i send it? i have opened a socket but how can i put all those elements in one array that will be sent in:
status=sendto(SendSocket,msg,sizeof(double)+N*sizeof(int),
0,(void*)&out_socketaddr,sizeof(out_socketaddr));
Where MSG is the memory(array) of all those elements and out_socketaddr is the destination