I'm trying to find Delphi wrappers for getnameinfo and getaddrinfo socket APIs. Does anybody know where to find them or has created them and would not mind to share?
Asked
Active
Viewed 2,764 times
2 Answers
4
They are part of Indy 10: declared in IdWship6
unit, they are already used by TIdStackWindows
in IdStackWindows
unit.

gabr
- 26,580
- 9
- 75
- 141

Ondrej Kelle
- 36,941
- 2
- 65
- 128
-
I've ended using JWA version (see my answer) because I'm not using Indy, but your answer was indispensable as it provided me with an example on how to use those two functions correctly. – gabr Jul 19 '11 at 11:57
-
1You might take a look at Synapse's declaration [here](http://synalist.svn.sourceforge.net/viewvc/synalist/trunk/sswin32.inc?revision=146&content-type=text%2Fplain). – Aug 06 '11 at 18:37