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

what's the network interface allocation strategy libwebsockets use? #3180

Open
bethebest0622 opened this issue Jul 5, 2024 · 0 comments
Open

Comments

@bethebest0622
Copy link

bethebest0622 commented Jul 5, 2024

There are 5 network interfaces in my machine, each interface bind with a public ipv4 address.

I noticed in lws_client_connect_info

there is a setting named iface, and the comment said, NULL to allow routing on any interface

So, what's the strategy of interface allocaition? is it a random algorithm(equal possiblity for each interface)?

@bethebest0622 bethebest0622 changed the title How to bind websocket context with a network interface in a multiple network interface machine? what's the network interface allocation strategy libwebsockets use? Jul 6, 2024
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

1 participant