| author | Max Kellermann <max.kellermann@gmail.com> | |
| Fri, 17 Mar 2017 14:53:09 +0000 (15:53 +0100) | ||
| committer | Max Kellermann <max.kellermann@gmail.com> | |
| Sun, 19 Mar 2017 12:58:17 +0000 (13:58 +0100) | ||
| commit | 0ed117e41692a6ee764984e6855492e5945f7883 | |
| tree | bf1d8e2ac8d8e6cb2df4e7e5f37a3a2446a63e8f | tree | snapshot |
| parent | d007e2dcb6061fc516802175fe98df951253a097 | commit | diff |
mpdclient: connect to MPD asynchronously
This way, the user can really cancel the connection attempt at any
time, and does not need to wait for a timeout.
This duplicates some code from libmpdclient, but unfortunately
libmpdclient doesn't expose a usable API for connecting asynchronously
yet.
This way, the user can really cancel the connection attempt at any
time, and does not need to wait for a timeout.
This duplicates some code from libmpdclient, but unfortunately
libmpdclient doesn't expose a usable API for connecting asynchronously
yet.
16 files changed:
| Makefile.am | diff | blob | history | |
| NEWS | diff | blob | history | |
| configure.ac | diff | blob | history | |
| src/aconnect.c | [new file with mode: 0644] | blob |
| src/aconnect.h | [new file with mode: 0644] | blob |
| src/mpdclient.c | diff | blob | history | |
| src/mpdclient.h | diff | blob | history | |
| src/net/async_connect.c | [new file with mode: 0644] | blob |
| src/net/async_connect.h | [new file with mode: 0644] | blob |
| src/net/async_rconnect.c | [new file with mode: 0644] | blob |
| src/net/async_rconnect.h | [new file with mode: 0644] | blob |
| src/net/resolver.c | [new file with mode: 0644] | blob |
| src/net/resolver.h | [new file with mode: 0644] | blob |
| src/net/socket.c | [new file with mode: 0644] | blob |
| src/net/socket.h | [new file with mode: 0644] | blob |
| src/net/types.h | [new file with mode: 0644] | blob |