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

[UDP] Missing functionality: connect and send on UDP #49

Closed
sunfishcode opened this issue Aug 17, 2023 · 1 comment
Closed

[UDP] Missing functionality: connect and send on UDP #49

sunfishcode opened this issue Aug 17, 2023 · 1 comment

Comments

@sunfishcode
Copy link
Member

udp.wit has start-connect/end-connect, however the send function takes a list<datagram> and datagram has a remote-address field, so it appears to always correspond to POSIX sendto. There doesn't appear to be a way to do a send without specifying a remote address, to use the address set up by a connect.

@sunfishcode sunfishcode changed the title Missing functionality: connect and send on UDP [UDP] Missing functionality: connect and send on UDP Aug 17, 2023
@badeend
Copy link
Collaborator

badeend commented Aug 18, 2023

I've thought about this before as part of #38 (comment) but apparently never created a PR for it.

Anyways, there is one now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants