On Thu, 7 Apr 2011 12:17:59 +0100, Marc Isambart <[email protected]> wrote: > 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).
for closing the socket to work at all on Windows you need closesocket() and not close(). This only (of course) fails at runtime, not compile time. It's really a mess. -- Stewart Smith _______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : [email protected] Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp

