libnetconf2
libnetconf2 copied to clipboard
callhome from netconf server using same IP but different ports
Hello,
We want the netconf client to accept callhome from netconf server. This call home from netconf server will have same IP but different ports for each request. wanted to know if libnetconf accepts/supports callhome from same IPs+different port combination.
Yes, just call nc_client_ssh_ch_add_bind_listen() repeatedly with whatever IP/ports you want to listen on and once you call nc_accept_callhome(), a connection made on any of the binds should be accepted.