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

Do you know which interface to call to set the specified network ip #511

Open
qingwadaxia opened this issue Aug 9, 2024 · 3 comments
Open

Comments

@qingwadaxia
Copy link

Do you know which interface to call to set the specified network ip?

@SRmonologue
Copy link

MqttConnectOptions.socketFactory

@qingwadaxia
Copy link
Author

MqttConnectOptions.socketFactory

Can you provide specific example code?thanks

@fpagliughi
Copy link
Contributor

MqttConnectOptions.socketFactory

^^^ I don't recognize this.

@qingwadaxia , if you're looking to specify which network interface to use, that isn't implemented yet. This library wraps the Paho C lib for the actual network traffic. Work started to implement this a while back, but has still not been released yet. See:
eclipse-paho/paho.mqtt.c#39

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

3 participants