I didn’t really understand the difference between these functions.
Could you tell us a little bit more?
Alain.
I didn’t really understand the difference between these functions.
Could you tell us a little bit more?
Alain.
Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:
I didn’t really understand the difference between these functions.
Could you tell us a little bit more?Alain.
resmgr_msgread is a cover function for MsgRead() which takes
into account that some of the data may have already been read
in locally (in which case you don’t have to go all the way
back to the client space to complete the read) into your
receive buffer of the context pointer. It will also help
wade through the problems that you might encounter when dealing
with multi-part combine messages (normally you might think
that the entire buffer has your data, but this isn’t the case
in a combine message).
Moral of the story … in your resource manager use resmgr_msgread.
Thomas