Asynchronous methods with ManualResetEvent.WaitOne() afterwards

Beantwortet Asynchronous methods with ManualResetEvent.WaitOne() afterwards

  • Donnerstag, 20. September 2012 17:35
     
     

    A question I always had. Why do the TCP component examples use asynchronous methods to accept clients or something else and after the call they use a ManualResetEvent to wait for finishing the asynchronous method? For me this doesn't seem to follow the asynchronous concept.

    Thx.

    Christian


Alle Antworten