Look my post above!Hey! I'm 17 years old C#/ASP.NET programmer, and glad to help you out whenever you want!
In your IReceive, you only get the first portion of data, but according to examples (http://ift.tt/1kHFFMM, see ReceiveCallback), there might be more data, which can be got by scheduling another operation using BeginReceive. I think that you can accumulate all of the portions in a MemoryStream. (Separate byte array is not needed). When no more bytes to receive, rewind the stream and deserialize your data.
No comments:
Post a Comment