mirror of
https://github.com/apple/swift-nio
synced 2026-11-30 05:28:44 +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.