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

feat: Allow passing in local and remote socket addresses #16

Merged
merged 24 commits into from
Sep 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
str
  • Loading branch information
larseggert committed Sep 4, 2024
commit 4c7ab9b5952e192fd13606f6cdce469ef8e51c09
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ fn interface_and_mtu_impl(socket: &UdpSocket) -> Result<(String, usize), Error>

#[cfg(target_os = "windows")]
fn interface_and_mtu_impl(socket: &UdpSocket) -> Result<(String, usize), Error> {
use std::{ffi::c_void, slice};
use std::{ffi::c_void, slice, str};

use win_bindings::{
if_indextoname, FreeMibTable, GetIpInterfaceTable, GetUnicastIpAddressTable, AF_INET,
Expand Down
Loading