-
-
Notifications
You must be signed in to change notification settings - Fork 631
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
Listen on the interface #379
Comments
@avengermsoft how would you generally do this in other languages? I believe you want to use https://golang.org/pkg/net/#InterfaceByName, https://golang.org/pkg/net/#Interface.Addrs, and #365 for this. |
C++ example
|
@avengermsoft do you already have a method to listen on the interface in the way you desire in Go? If you do, and it isn't exposed by the |
I found the code, but I don’t understand how to adapt it.
|
You can create your own You could also just listen explicitly on all of the IPs of the interface you listed, and then add them all with |
I believe this can be closed. Feel free to field more questions. |
Do you plan to listen on the interface?
Sample: "ListenInterface br-lan". I now have 4 ips addresses on the interface br-lan:
The text was updated successfully, but these errors were encountered: