Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always use make-network-process and related small changes #3

Merged
merged 4 commits into from
Sep 7, 2020

Conversation

kennyballou
Copy link
Contributor

No description provided.

This can be used to switch between IPv4 and IPv6 addresses.

Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
When making a connection to MPD, whether via local UNIX socket, or TCP
stream, `make-network-process` tends to be faster at establishing the
connection.  In my limited testing, `make-network-process` tends to be
dramatically faster than the `open-network-stream` function.  Of course,
without passing `:family 'ipv4` to `make-network-process`, the two
functions exhibit similar performance, so it's not as simple as "one is
written in C and the other is written in ELisp."

Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Add ability to specify the address family for connection profiles.

Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Copy link
Contributor

@DamienCassou DamienCassou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really good job! Thank you.

@DamienCassou DamienCassou merged commit 99cb4c8 into mpdel:master Sep 7, 2020
@kennyballou kennyballou deleted the use-make-network-process branch September 22, 2020 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants