Some bonus thoughts on Windows port. Last time I saw it MPD used int type for sockets. Windows API actually defines a SOCKET type which a typedef for UINT_PTR.
From my observations socket handles grow sequentially from small numbers to higher. This makes error unnoticeable. I could try to provide a patch for mpd/mpc/libmpdclient but not sure what's the best way to do it. Define separate type (i.e. mpd_socket) that always is a typedef for correct socket type. Or just #ifdef in each particular usage? Also this might break the API of libmpdclient and I'd like to avoid API breaks for other platforms. -- Denis ------------------------------------------------------------------------------ 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/learnmore_122712 _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team