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.

Alan

From: Alan Teeder 
Sent: Thursday, August 25, 2011 3:21 PM
To: FlightGear developers discussions 
Subject: Re: [Flightgear-devel] Simgear - netinfo/in.h notavailablefor windows

James

With the latest I get link errors looking for freeaddrinf and getaddrinfo.
It is cured when I add Wsiapi.h to raw_socket.cxx.

i.e. 
#if defined(WINSOCK)
# include <winsock2.h>
# include <ws2tcpip.h>
# include <Wspiapi.h>
# include <stdarg.h>
#else

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.

Alan

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to