Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServerList/Server/InterfaceName in EmaConfig.xml cannot find interface #212

Open
Yanpas opened this issue Oct 18, 2022 · 4 comments
Open

Comments

@Yanpas
Copy link
Contributor

Yanpas commented Oct 18, 2022

I set InterfaceNme to eth0, which causes error. Library uses gethostbyname but it must get the interface address through ioctl.

@d84833
Copy link

d84833 commented Oct 18, 2022

Here:

if (rsslGetHostByName(rsslServerSocketChannel->interfaceName, &addr) < 0)

You should replace call from rsslGetHostByName to getifaddrs:
https://man7.org/linux/man-pages/man3/getifaddrs.3.html

@L-Karchevska
Copy link
Contributor

@Yanpas Thank you for bringing up this issue, we will look into it.

@dmykhailishen
Copy link
Contributor

@Yanpas, Thank you for your report. In the current implementation, the parameter 'InterfaceName' takes only the IP address or hostname of the local network (you can find a detailed description in EMACPP_ConfigGuide.pdf).
We are inclined to count your report as an enhancement request. This functionality will be improved in our further versions.
Thank you.

@d84833
Copy link

d84833 commented Nov 8, 2022

Thanks! We've a lot of servers and configuring IP everywhere is tedious, if we could place bond4 everywhere things were more simple and straightforward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants