Hi Kurosu,

can you have a look at the change implied by this commit ? As far as I 
understand, getaddrinfo is available on Windows XP and there is some 
workaround for older version of Windows to make it work.

Regards,

Matt (gentildemon)



Matthieu Fertré a écrit :
> Author: gentildemon
> Date: Wed Oct  8 23:45:17 2008
> New Revision: 5238
>
> URL: http://svn.gna.org/viewcvs/wormux?rev=5238&view=rev
> Log:
> Remove use of gethostbyname and replace it by getaddrinfo
>
> gethostbyname is a deprecated libc function. Moreover, code using 
> gethostbyname needs to use *exactly* same libc version as the one with which 
> it has been 
> compiled. 
> Thus, you can not create a partially static binary which does not carry its 
> own libc, else it may crash when gethostbyname will be called.
>
> Modified:
>     trunk/src/network/network.cpp
>
>
> _______________________________________________
> Wormux-cvs mailing list
> [EMAIL PROTECTED]
> https://mail.gna.org/listinfo/wormux-cvs
>
>
>   


_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à