On 2013/01/26 11:32, Denis Krjuchkov <de...@crazydev.net> wrote: > >How much is it? If it's just a few lines, why not. > > In practice this looks not so simple. > I would like not to copy the code I don't completely understand :-) > > You could take a lot at it here: > > http://git.gnome.org/browse/glib/tree/glib/giowin32.c > > Important functions are: > > g_io_win32_prepare > g_io_win32_check > g_io_channel_win32_make_pollfd > > The only interesting case is G_IO_WIN32_SOCKET.
Looks pretty easy to add WSAEventSelect() to SocketMonitor. I think we should do that, until we are confident enough that our GMainLoop replacement works well with all MPD modules ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team