Skip to content

sendmmsg documentation is incorrect #2030

Open
@kalradivyanshu

Description

@kalradivyanshu

https://docs.rs/nix/latest/nix/sys/socket/fn.sendmmsg.html is incorrect. The doc says that sendmmsg takes 3 arguments:

Arguments

  • fd: Socket file descriptor
  • data: Struct that implements IntoIterator with SendMmsgData items
  • flags: Optional flags passed directly to the operating system.

But it takes 6? And as far as I can tell SendMmsgData doesn't exist anymore? I would love a working example of how to use sendmmsg.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions