(index ("address-info?" 0) ("make-address-info" 131) ("address-info-family" 555) ("address-info-type" 703) ("address-info-host" 844) ("address-info-port" 994) ("address-infos" 1128))
(def (sig (procedure "(address-info? V)" (id address-info?))) (p "Checks whether " (tt "V") " is an address information record."))
(def (sig (procedure "(make-address-info FAMILY TYPE HOST PORT)" (id make-address-info))) (p "Constructs a new address information record from the given " (tt "FAMILY") " (" (tt "'ipv4") " or " (tt "'ipv6") "), a socket " (tt "TYPE") " (" (tt "'tcp") ", " (tt "'udp") " or " (tt "'raw") "), a numeric " (tt "HOST") " address encoded as a string and a " (tt "PORT") " that is a either a positive integer or " (tt "#f") "."))
(def (sig (procedure "(address-info-family INFO)" (id address-info-family))) (p "Extracts the address family from an address information record."))
(def (sig (procedure "(address-info-type INFO)" (id address-info-type))) (p "Extracts the socket type from an address information record."))
(def (sig (procedure "(address-info-host INFO)" (id address-info-host))) (p "Extracts the numeric host address from an address information record."))
(def (sig (procedure "(address-info-port INFO)" (id address-info-port))) (p "Extracts the port from an address information record."))
(def (sig (procedure "(address-infos HOST [#:port PORT] [#:family FAMILY] [#:type TYPE] [#:server? SERVER] [#:numeric? NUMERIC])" (id address-infos))) (p "Tries to lookup socket addresses for the given " (tt "HOST") " and/or " (tt "PORT") ". If the lookup is successful, the procedure returns a list of address information records. Otherwise it returns " (tt "#f") ".") (p "For a successful lookup you must at least specify a " (tt "HOST") " or a " (tt "PORT") ". If no " (tt "HOST") " is specified, the function defaults to server mode lookup and will return wildcard addresses. This behaviour can be changed using the " (tt "SERVER") " flag.") (p "By default, the procedure will return address information records for all suitable supported protocol families and socket types. The " (tt "FAMILY") " argument may be used to filter for " (tt "'ipv4") " or " (tt "'ipv6") " addresses. The " (tt "TYPE") " argument may be used to filter for " (tt "'tcp") " / " (tt "'stream") ", " (tt "'udp") " / " (tt "'datagram") " or " (tt "'raw") " socket types.") (p "Unless the " (tt "NUMERIC") " flag is set to a true value, the procedure will convert hostnames into numeric network addresses."))
