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

sockopt api: add ipv6 support via method #66

Merged
merged 1 commit into from
Mar 16, 2015
Merged

sockopt api: add ipv6 support via method #66

merged 1 commit into from
Mar 16, 2015

Conversation

reqshark
Copy link
Collaborator

fixes #63

not activating ipv6 as a default.

@@ -315,7 +316,28 @@ Socket.prototype.maxreconn = opt('maxreconn');
Socket.prototype.sndprio = opt('sndprio');
Socket.prototype.rcvprio = opt('rcvprio');

/* tcpnodelay sockopt method. this one is a little different */
Copy link
Owner

Choose a reason for hiding this comment

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

Did we mean to delete this comment?

Copy link
Owner

Choose a reason for hiding this comment

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

ah, oops, need to read the next line ;)

@nickdesaulniers
Copy link
Owner

Let's add a test that proves that ipv6 works. 127.0.0.1 is ipv4 localhost, while ::1 is ipv6 localhost. Just copy one of the other simple tests that verifies a message received over ipv6.

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.

IPv6 support
2 participants