|
From: Cesc <ces...@gm...> - 2006-03-14 10:42:38
|
On 3/14/06, Michael Gerdau <mg...@te...> wrote: > > > winsock2.h and ws2tcpip.h. > > > > > > If you are sure your app will run only on XP and newer, you can use > > > the modern getaddrinfo() etc API, like on Linux. Read MSDN for > > > documentation. > > > > > > --tml > > > > I am more than happy with just win xp usage ... but for the sake of > > completeness ... how could i do it for win2k, i.e.? > > Did you actually do what Tor suggested (i.e. read MSDN) ? > > FYC here the relevant URL: > http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/winsoc= k/winsock/getaddrinfo_2.asp > > HTH, best, > Michael Yes, and in this page says that client support is for xp, 2k, nt, 98 and 95= ... That is why i was wondering why he mentions the "modern getaddrinfo" api for win xp only ... I am just confused. I see that the function is defined in a different header for win < xp ... but is that all? i can deal with that with #defines ... right? Cesc |