mirror of
https://github.com/apple/swift-nio
synced 2026-11-26 04:57:49 +00:00
Motivation: We only use our GetaddrinfoResolver for SocketChannels (TCP stream channels), so we should set some hints for getaddrinfo. Modifications: Set proto and socktype hints. Result: More correct usage of getaddrinfo. Fixes https://github.com/apple/swift-nio/issues/201.