Re: g_io_add_watch and non-blocking io on windows



Alexander Semyonov writes:
My problem is that condition parameter in callback is always G_IO_OUT even
if target host:port is unreachable. How can I discover that connect was
unsuccessfull?

Yeah. The code in giowin32.c is known to be rather fragile and indeed
buggy.

This might be fixed by a patch attached to bug #357674. The bug
description seems partly similar. Unfortunately the patch is not
attached to the bug, but just as a pointer to a zip file on the web
that doesn't exist any longer, sigh.

(Yeah, I said in December last year in that bug that I would look into
it "soon"... Please consider half a year later soon...)

Daniel, you commented on that bug and apparently did manage to
download the zip file with the patch when it still was available, do
you still have it?

--tml



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]