> Why? The only real problem was the fact the cbk was void. Well, you were lucky;) In more complex use cases, there are many ways in which the behavior of GIOChannels for sockets, and watches for them, behave differently on Unix and Windows.
> GIOChannel API give the user a g_io_channel_unix_get_fd() call, Yes. That (and the fact that opening the socket (fd) is the responsibility of user code) is a problem in this API. That means GLib has no control or knowledge of exactly how the socket is created, and what all the user code does with it. --tml _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list