Re: Win32 Glib 2.8.x g_io_channel issues (receiving window messages on socket io channel)
- From: Tor Lillqvist <tml iki fi>
- To: Daniel Atallah <daniel atallah gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Win32 Glib 2.8.x g_io_channel issues (receiving window messages on socket io channel)
- Date: Mon, 14 Nov 2005 17:52:28 +0200
g_io_win32_check: WSAEnumNetworkEvents (1576, 0x618) revents={}
condition={IN|ERR|HUP} events={}
What seems to happen is that after watching a socket io channel once,
I'll continue to see these messages until I restart the program - even
if the io channel should have been cleaned up by g_source_remove().
Any ideas what could be causing this?
The giowin32.c code was changed in GLib 2.8 to use WSAEventSelect (and
thus asynchronous IO) on sockets. Apparently this has some odd
side-effects I haven't noticed. Do you think you can distill the
problems into a minimal sample program...?
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]