|
-
February 12th, 2005, 05:36 PM
#1
CAsyncSocket OnReceive
Hi all,
I have questions relate to How to receive all data inside
OnReceive() of a CAsyncSocket socket.
I know that it's illegal to call multiple times inside OnReceive.
But if I call only one time Receive().....how much buffer will i need to
declare and pass into Receive(buffer, SIZE);
if i declare
define SIZE=8000;
char buffer[SIZE]
then what happen if that socket get 10000 at that time ?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|