Skip to content

Add IPv6 support to PyGopherd#2

Open
rhymeswithmogul wants to merge 2 commits intomichael-lazar:masterfrom
rhymeswithmogul:master
Open

Add IPv6 support to PyGopherd#2
rhymeswithmogul wants to merge 2 commits intomichael-lazar:masterfrom
rhymeswithmogul:master

Conversation

@rhymeswithmogul
Copy link
Copy Markdown

This pull request will add dual-stack support to PyGopherd's two TCP servers. The daemon will now listen for both IPv4 and IPv6 connections. I have done limited testing with my Gopher server and found no errors, though I admit I may be the first person in the world to browse Gopher over IPv6!

Many Gopher clients only speak IPv4, so just to make sure, I had to test with Netcat:

echo "" | nc -6 2600:1f18:40f3:9a00::ec2:1 70

which produced a Gopher listing!

This commit adds IPv6 support to PyGopherd.  Both types of TCP servers
will now listen for both IPv4 and IPv6 connections.
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.

1 participant