[Gambas-devel] Gambas DNS resolution working in Windows, patch, new screenshot

Daniel Campos daniel.campos at ...103...
Wed Feb 16 01:15:10 CET 2005


>
> Yeah, winsock... Blech... Maybe when I get to the point a native port 
> is feasable.


May be you could also implement gb.gtk with the GDI library :-)))))

>>
>>
> Of course, Linux is notoriously nonstandard. Also, even linux has 
> deprecated this function.
>
> http://www.linuxbase.org/spec/book/LSB-generic/LSB-generic/baselib-gethostbyname-r-3.html 
>
>
Oh, this is new for me! I didn't knew that these functions were 
deprecated by the LSB...

>
>
> Really, getaddrinfo and getnameinfo should be preferred if available. 
> They are cleaner and well defined by POSIX.
>
> http://www.ietf.org/rfc/rfc2553.txt
>
> But, you're the maintainer, so it's definately your call...

Well, after all it seems it's the time to change my code :-))). OK, you 
seem to be right, then I'll write again the DNS calls in the gb.net 
component, may be this week-end, but I'll keep also the old code safe as 
I don't know if there will be problems with that new one...

Regards,

D. Campos







More information about the Devel mailing list