Skip to content

Add SendTo event - #70

Open
mxxo wants to merge 1 commit into
ringbahn:masterfrom
mxxo:sendto
Open

mxxo wants to merge 1 commit into
ringbahn:masterfrom
mxxo:sendto

Conversation

@mxxo

@mxxo mxxo commented Dec 11, 2020

Copy link
Copy Markdown
Contributor

Add a sendto event by wrapping iou::prep_sendmsg. I wasn't entirely sure whether I should box the SockAddr and msghdr members. When I tried boxing the SockAddr I ran into an issue calling Cancellation::from((this.buf, this.addr)) like how the statx event does it.

SendTo submission currently requires setting up a libc::msghdr which
is somewhat error-prone.
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.

1 participant