Well, that fixed the compilation, but at run time I see:
mismatch in socket address sizes
Error: connect() failed in make-client_socket()
SG_IO_OUT socket creation failed
Error opening channel communication layer.
I/O Channel config failed.
Sent: Thursday, August 25, 2011 3:21 PM
Subject: Re: [Flightgear-devel] Simgear - netinfo/in.h notavailablefor windows
With the latest I get link errors looking for freeaddrinf and getaddrinfo.
It is cured when I add Wsiapi.h to raw_socket.cxx.
#if defined(WINSOCK)
# include <winsock2.h>
# include <ws2tcpip.h>
# include <Wspiapi.h>
# include <stdarg.h>
The platform is Windows7, Visual studio 8.
I understand that MS had fixed this particular bug back in Windows 2000 days, but it seems to have crept back in – on my system at least.