DNS query: Difference between revisions

→‎{{header|C sharp}}: fixed spelling of "comma-delimited"
mNo edit summary
(→‎{{header|C sharp}}: fixed spelling of "comma-delimited")
Line 83:
 
=={{header|C sharp}}==
Implementation takes a host name string as a parameter, and returns the IP addresses in a comma-delimitddelimited string. Note that a failed lookup throws a SocketException.
<lang csharp>
private string LookupDns(string s)
Line 104:
}
</lang>
 
=={{header|Delphi}}==
The included Indy components wrap GetAddressInfo.
Anonymous user