On Fri, Jan 9, 2009 at 11:46 PM, John Denker <[email protected]> wrote: > > Is there any reason why simgear/io/sg_socket.cxx could not return > a more informative error message, one that included sys_errlist[errno]?
Yeah. The reason is, this code is in plib and that doesn't provide a portable way to get the error message. On windows, for example, you need to call WSAGetLastError function instead of consulting errno. -- Csaba/Jester ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

