Hi Florin,
Thank you. Yes. I need to upgrade. Or I am thinking of customizing in fdio 
20.05 release.

Small question, vcl_test_client is working fine and have session created in my 
environment.

But, When I added code client is added to vpp_main like mq and shm.

Issue is, session is returned with CONNECTION RESUED errno = 111.

I do not see vppcom_session_connect message is sent to vpp_main, but return 
error locall.

With Regards
Sastry
CODE:
main()
{
vppcom_endpt_t endpt;
struct sockaddr_in servaddr;
//uint8_t ipaddr[sizeof(absl::uint128)];
int wrk_index = vppcom_worker_index();
int ret = vppcom_app_create("liapp");
uint16_t sockfd= vppcom_session_create(VPPCOM_PROTO_TCP,0);   // tried with 
both blocking and non blocking.... same issue
printf(" session create sockfd: %d",sockfd);
servaddr.sin_family = AF_INET;
servaddr.sin_addr.s_addr = inet_addr("10.10.10.2");
servaddr.sin_port = htons(1234);

vclEndptFromAddress(&endpt, servaddr,true);
vppSockFd = vppcom_mq_epoll_fd();
printf(" epoll fd ..............vppSockFd:%d \n", vppSockFd);
int32_t rv = vppcom_session_connect(sockfd, &endpt);
printf(" connect retrun value from connect: %d \n", rv);
return 0;
}
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19509): https://lists.fd.io/g/vpp-dev/message/19509
Mute This Topic: https://lists.fd.io/mt/83043661/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to