   how to send a array  through socket
  hi,i have created an array  UCHAR  * data;  data = new UNCHAR [size]   i saved data in it ,, that PCM data (pulse code modulation)   now i want to send  this (array)  throught socket.   how can i CSocket->send ( ...... , ..  , ...);   Plz reply methanx  
  just look at the parameters to the function you wrote thereone of them is probably char* buffer or something similar that is where you will pass in the data variableand another parameter will prob be something like size or lengththat is where you would pass in your size variableand there might be another parameter just look it up "A soldier is a part of the 1% of the population that keeps the other 99% free"  - Lt. Colonel Todd, 1/38th Infantry, Ft. Benning, GA ;  send(data, sizeof (UCHAR) * size) 