Hi,

We are facing an issue during usage of API framework.

We have open a Non-blocking connection from Client app.

If Client does not have any pending request then it skip reading the
responses in vapi_dispatch . Please suggest

vapi_error_e
vapi_dispatch (vapi_ctx_t ctx)
{
  vapi_error_e rv = VAPI_OK;
*  while (!vapi_requests_empty (ctx))*
    {
      rv = vapi_dispatch_one (ctx);
      if (VAPI_OK != rv)
    {
      return rv;
    }
    }
  return rv;
}


Thanks,
Chetan Bhasin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10196): https://lists.fd.io/g/vpp-dev/message/10196
Mute This Topic: https://lists.fd.io/mt/24611122/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to