Hi Sastry, vppcom_app_create() can return an error even if binary api attachment is successful. To check if application has successfully attached to vpp’s session layer, see “show app”. To debug vcl, set VCL_DEBUG env variable to at least 1.
Connects, if delivered by vcl to vpp, are handled in session_mq_connect_handler. Connect replies from vpp to vcl are handled by vcl because linux and vcl fds cannot be mixed. That is, when vppcom_epoll_wait is run, all pending events are handled, including connect replies. Regards, Florin > On May 31, 2021, at 10:32 AM, Sastry Sista <sastry.si...@gmail.com> wrote: > > Hi Florin, > app clnts are created successfully as below. Only > vppcom_session_connect returns error within client. Because I am not even > hitting vl_api_clnt_process at server i.e vpp_main. > > Could please let me know which is early function that hits in latest version > when vcl client sends connect?. > > One more point is, if my app is part of linux big app having separate > dispatcher, then return event for client connect shall be handled separately? > THIS IS ONLY POINT WHICH MAY BE MISSING ???? > > With Regards > Sastry > > vpp# show api clients > Shared memory clients > Name PID Queue Length Queue VA Health > app[shm] 643 0 0x00007edc1b62e880 OK > Socket clients > Name Fildesc > app 161 > vpp# > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19512): https://lists.fd.io/g/vpp-dev/message/19512 Mute This Topic: https://lists.fd.io/mt/83043661/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-