hello, i have declared byte[] at runtime by allocating some memory.(socket programming)
public void OnDataReceived(IAsyncResult asyn)
{
conn_arr =
conn_arr1 =
iRx = theSockId.m_currentSocket.EndReceive(asyn);
byte
--
}
-> power is getting allocated for 1024 bytes,but i want to allocate only for the no of bytes received(iRx).