Files
swift-nio/Sources
Cory Benfield 3db5c4aeee Support for custom protocols in DatagramBootstrap (#2516)
Motivation

This patch adds support for custom protocol families to
DatagramBootstrap. In most cases this isn't useful, and will fail, but
in many OSes it's a recognised system for non-root processes to get a
way to send ICMP echo requests. This is worth supporting.

Modifications

- Expose the `ProtocolSubtype` type publicly.
- Add a `protocolSubtype` setter on `DatagramBootstrap`
- Write a test that actually does ICMP as non-root

Results

Users can send ICMP echo requests without root privileges.
2023-09-17 08:03:56 +01:00
..
2021-01-22 18:39:10 +00:00
2023-08-30 10:32:45 +01:00
2023-04-17 08:40:35 +01:00