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

[SR-5144] Can't easily drive writev(2) from a DispatchData #688

Open
weissi opened this issue Jun 7, 2017 · 0 comments
Open

[SR-5144] Can't easily drive writev(2) from a DispatchData #688

weissi opened this issue Jun 7, 2017 · 0 comments

Comments

@weissi
Copy link
Member

weissi commented Jun 7, 2017

Previous ID SR-5144
Radar rdar://problem/32611730
Original Reporter @weissi
Type Bug
Additional Detail from JIRA
Votes 0
Component/s libdispatch
Labels Bug
Assignee None
Priority Medium

md5: 310f75fc86b29f0f1a44e9f288bbe223

Issue Description:

In network programming it's often necessary to call writev(2) given a DispatchData . In fact, DispatchData seems a perfect data type to do that. Unfortunately, in Swift it's currently impossible to do so (in a guaranteed safe way).

Sure, there's DispatchIO.write but there's cases where we need to call writev directly so it should be supported.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant