|
-
February 12th, 2005, 10:55 PM
#2
Re: CAsyncSocket OnReceive
You could try using the IOCtl member function to determine the number of bytes that can be read at one time using the FIONREAD command parameter.
You could also call Receive multiple times waiting for the return value (bytes read) to equal something less than your buffer size (nBufLen param)
Hope this helps,
- Nigel
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
|