On Fri, 2012-07-27 at 17:39 +0100, James Turner wrote: > On 27 Jul 2012, at 16:37, Geoff McLane wrote: > > > For a long, LONG time the small utility program > > metar.exe has failed to work in windows... > > > > It turns out WSAStartup() is NOT called, thus the > > HTTP request always fails... > > > > Applied this simple patch below, and all is > > well ;=)) > > > > Hope this can get into fg git, and I hope pushed > > to Release/2.8.0 as well, and thus get into > > the next fgrun release 2.8 windows install... > > There's an even simpler fix: call: > > int simgear::Socket::initSockets() > > Which does whatever platform-specific socket initialisation is required. > > James >
Hi James, Just as my patch does... SAME code except for the throw sg_exception() ;=)) So 6 to one, and half dozen to the other... Just hope one of them gets pushed ;=)) Regards, Geoff. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel