[Openais] coroipcc_dispatch_get return values
Ramesh Random
randomramesh at gmail.com
Mon Mar 21 06:16:03 PDT 2011
Hi,
i am using coroipcc_dispatch_get() to read the asynchronous buffer
response. i am not able to differentiate between return values for it
CS_ERR_TRY_AGAIN and CS_OK. i tried to look into source code of
coroipcc_dispatch_get() couldnt make out anything in short time. basically
if this function returns CS_ERR_TRY_AGAIN..does it mean buffer is empty &
doesnt have any data? or is there any genuine error like other got
disconnected?
i just want to differentiate between two cases...
a) buffer is empty....and client & server didnt encounter any error ..what
return value i expect is it CS_OK?
b) there is a case like server side disconnected?
is there any doc which explains return values for API's
thanks for help in advance
Ramesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/openais/attachments/20110321/a74a6acc/attachment.htm
More information about the Openais
mailing list