Files
glib/glib
Tor Lillqvist 09d6197943 When WSAEnumNetworkEvents() signals FD_CONNECT that means that the
2007-07-06  Tor Lillqvist  <tml@novell.com>

	* glib/giowin32.c (g_io_win32_check): When WSAEnumNetworkEvents()
	signals FD_CONNECT that means that the connection attempt
	finished, either successfully or failed. Test explicitly whether
	the connnection succeeded and set either G_IO_OUT if it did,
	G_IO_ERR|G_IO_HUP if it failed.

	Make sure we never set both G_IO_OUT and G_IO_HUP simultaneously
	because in Unix poll(2) POLLOUT and POLLHUP are mutually
	exclusive.

	Ignore whether the caller wants to watch G_IO_HUP or not. Always
	select for FD_CLOSE because Unix poll(2) also ignores whether
	POLLHUP in set the requested events bitmask or not.


svn path=/trunk/; revision=5600
2007-07-06 01:22:53 +00:00
..
2007-03-21 16:49:35 +00:00
2007-03-17 14:25:14 +00:00
2006-09-30 14:06:45 +00:00
2006-09-10 05:50:50 +00:00
2006-04-05 03:19:30 +00:00
2003-09-07 22:36:58 +00:00
2006-10-09 04:23:58 +00:00
2007-01-15 03:49:43 +00:00
2002-02-17 23:28:43 +00:00
2005-11-28 18:31:03 +00:00
2005-08-31 14:25:45 +00:00
2006-10-09 04:23:58 +00:00
2006-09-30 14:06:45 +00:00
2007-04-27 22:37:49 +00:00
2006-05-16 05:49:46 +00:00
2006-03-23 02:54:29 +00:00
2007-06-18 19:12:10 +00:00