المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Receiving Data on Socket Class



C# Programming
10-01-2011, 05:21 AM
I'd like to use the asynchronous model with the Socket class to receive data.

The BeginReceive function must be told how many bytes you wish to receive:

public IAsyncResult BeginReceive( byte[] buffer, int offset, int size, //<span class="code-comment">