Gethostbyname...
Posted: Mon Nov 09, 2015 2:42 pm
Hi all,
Iam using GetHostByname_() to resolve dns PC name to xxx.xxx.xxx.xxx format IP.
Works fine but I have read Micro$oft notice saying that this function is deprecated (!)
They suggest to use GetAddrInfo()... Why not, but this function is unknown by the compiler (v4.51)
Any suggestion
Thanks,
WW
Iam using GetHostByname_() to resolve dns PC name to xxx.xxx.xxx.xxx format IP.
Works fine but I have read Micro$oft notice saying that this function is deprecated (!)
They suggest to use GetAddrInfo()... Why not, but this function is unknown by the compiler (v4.51)
Any suggestion


Thanks,
WW