Uploaded image for project: 'Swift'
  1. Swift
  2. SR-5144

Can't easily drive writev(2) from a DispatchData

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: libdispatch
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jw Johannes Weiss
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: