private static void OnAsyncReadDone(IAsyncResult result) { ReadData rd = (ReadData)result.AsyncState; IAsyncResult wrapped = new WrappedAsyncResult(result, rd.Buffer); rd.Callback(wrapped); }