Skip to content

private Socket.sendto#101

Open
Joonsey wants to merge 3 commits into
ikskuh:masterfrom
Joonsey:master
Open

private Socket.sendto#101
Joonsey wants to merge 3 commits into
ikskuh:masterfrom
Joonsey:master

Conversation

@Joonsey

@Joonsey Joonsey commented Feb 5, 2025

Copy link
Copy Markdown

No description provided.

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

Copy link
Copy Markdown

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

ikskuh commented Feb 6, 2025

Copy link
Copy Markdown
Owner

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.

2 participants