rlebeau on Indy11-preparation
Updating TIdSocketList.Add() on… (compare)
rlebeau on master
#445 Updating TIdSocketList.Add… (compare)
rlebeau on Indy11-preparation
Bringing in some more updates f… (compare)
rlebeau on master
idHl7 update to last release fr… Rev 2.1 25/12/2022 12:32 AM … added example program, async re… and 13 more (compare)
gethostname()
or getaddrinfo()
directly (which are wrapped by Indy's TIdStack.HostByName()
method), which uses the OS's own DNS resolver; and then 2) resolve the HostName using gethostbyaddr()
or getnameinfo()
(which are wrapped by Indy's TIdStack.HostByAddress()
method), which also use the OS's own DNS resolver. Yes, TIdDNSResolver
requires a Host
, because it implements DNS manually from scratch, and doesn't use the OS resolver at all. You can query your OS's DNS server(s), or let the user specify them.
TIdSync
still works, but is deprecated because TThread::Synchronize()
with an anonymous procedure accomplishes the same thing that TIdSync
was originally intended for. Read Embarcadero's documentation for How to Handle Delphi Anonymous Methods in C++.