On Thu, Apr 7, 2011 at 1:17 PM, Marc Isambart <[email protected]> wrote: > Do you think it should be ok to do this for both Linux and Windows (go > to next address info if drizzle_con_wait returns > DRIZZLE_RETURN_TIMEOUT in drizzle_state_connecting) or should we just > do it on Windows?
I'd do it in all cases. > Also, for multiple connection attemps to work correctly on both > Windows and Linux, "(void)close(con->fd);" should be replaced by > "(void)closesocket(con->fd);" in drizzle_state_connect (this would > match what is done in drizzle_con_close). We really should move to a cross-platform network lib (Boost Asio ;) ) Olaf _______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : [email protected] Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp

