Skip to content

Conversation

@Joonsey
Copy link

@Joonsey Joonsey commented Feb 5, 2025

No description provided.

not to be confused with Socket.sendTo
// .windows and .linux both don't care
// Intercepts ISCONN status for .darwin and retry sendto with null destination address
pub fn sendto(
fn sendto(

Choose a reason for hiding this comment

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

It would be more consistent with POSIX to hide the "sendTo".

https://pubs.opengroup.org/onlinepubs/9799919799/

its name is "sendto"!

@ikskuh
Copy link
Owner

ikskuh commented Feb 6, 2025

I think it's fine that it's public. It allows people to use this API if they need it. There is no harm in having it pub

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.

3 participants