Skip to content

Commit

Permalink
improving document
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Sep 4, 2024
1 parent 30df86b commit 1411634
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Network/Socket/Info.hsc
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ class GetAddrInfo t where
-- | Resolve a host or service name to one or more addresses.
-- The 'AddrInfo' values that this function returns contain 'SockAddr'
-- values that you can pass directly to 'connect' or
-- 'bind'.
-- 'bind'. Instances for the hidden 'GetAddrInfo' class are lists and
-- 'NonEmpty' only. Use of 'NonEmpty' is recommended as getaddrinfo() never
-- returns an empty list.
--
-- This function is protocol independent. It can return both IPv4 and
-- IPv6 address information.
Expand Down

0 comments on commit 1411634

Please sign in to comment.