Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ducaale
Copy link
Owner

@ducaale ducaale commented Jun 6, 2025

Resolves #419

@ducaale ducaale force-pushed the macos-bind-interface-name branch 2 times, most recently from a6252f2 to cd130ca Compare June 6, 2025 08:01
Copy link
Owner Author

@ducaale ducaale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was now able to test this on a MacBook device

# successful request
$ cargo r -- --interface en0 https://ifconfig.me

# failed request
$ cargo r -- --interface en1 https://ifconfig.me

client = client.local_address(ip_addr);
} else {
#[cfg(any(target_os = "android", target_os = "fuchsia", target_os = "linux"))]
#[cfg(any(
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ducaale ducaale merged commit cd2f020 into master Jun 6, 2025
13 of 18 checks passed
@ducaale ducaale deleted the macos-bind-interface-name branch June 6, 2025 18:33
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

Successfully merging this pull request may close these issues.

Support binding to interface name on macOS

2 participants