Re: [Musicpd-dev-team] Connection issues with master

2013-01-26 Thread Denis Krjuchkov
26.01.2013 15:26, Max Kellermann пишет: Can we somehow convert the integer file handle to a WIN32 HANDLE for use in GPollFD? Yes, it's possible. In theory things look simple: create event object with CreateEvent() or WSACreateEvent(), associate event with socket via WSAEventSelect(). This

Re: [Musicpd-dev-team] Connection issues with master

2013-01-26 Thread Jonathan Neuschäfer
On Sat, Jan 26, 2013 at 10:26:00AM +0100, Max Kellermann wrote: There are still a few missing pieces before we can replace the GMainLoop completely. See src/output/HttpdClient.cxx. What is a replacement that runs on Linux (POSIX), Windows and Android? Or shall we just roll our own?

Re: [Musicpd-dev-team] Connection issues with master

2013-01-26 Thread Denis Krjuchkov
26.01.2013 6:17, Max Kellermann пишет: Path: ToUTF() returns std::string removes the ability for the caller to check for errors. Maybe checking for an empty string might work, as paths may be expected to be non-empty, however you removed documentation on this. This should be a