By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,548 Members | 860 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,548 IT Pros & Developers. It's quick & easy.

[Q] Receiving asynchron datas with Sockets

P: n/a
Hi,

I've established a TCP-Socket Connection and now I want to receive
datas. So I called BeginReceive where I set the receiving buffer and
length. Now in the asynchronous CallBack-Function I call EndReceive and
get the length of rceived datas. After receiving datas I call the
Beginreceive-Function again.

So my question is now what is if the send datas is greater than the
receiving buffer? Ok, I know, I will get it in the next receiving round
but how do I now that the received datas belong together and doesn't
belong to the next sending-session from the connected socket?

Thanks
--
André Betz
Kontakt: http://www.andrebetz.de/sign.txt
Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.