|
-
August 26th, 2003, 05:39 PM
#1
Getting the size of a CArchive
i'm using the CArchive object in an application that is using internet, and is communicating through some CArchive objects (see the NDK2.0 class)...
the problem is that when i receive the CArchive, i must know the size of the data within it, because if i try to read a data buffer that is larger than the data available, the program remains somewhere in the sockcore.cpp (or something like this), waiting for some data...i guess that it is waiting for the rest of the data, but that data never arrives, because it wasn't sent....
a solution i guess that will be to read the archive byte by byte but that seems quite crazy...
so, i'm waiting and hoping for some answers...
thank you
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
|