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

IPv4 and IPv6 support #2

Merged
merged 3 commits into from
Jun 22, 2012
Merged

Conversation

brianmay
Copy link
Contributor

Should in theory work anywhere.

Note that there seemed to be some bugs previously, e.g. optval was used undefined in the call to setsockopt, which would have made the behaviour of the setsockopt unpredictable.

I also fixed the Makefile

@brianmay brianmay mentioned this pull request Jun 22, 2012
travisghansen added a commit that referenced this pull request Jun 22, 2012
@travisghansen travisghansen merged commit 6f4f5eb into travisghansen:master Jun 22, 2012

for (n=0; n < nfds; n++) {
if (epoll_ctl (epollfd, EPOLL_CTL_ADD, fds[n].data.fd, &fds[n]) == -1) {
fanout_error ("epoll_ctl: srvsock");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Might want to update this fanout_error, I removed the srvsock variable...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I hate it when I nitpick on my own updates :-)

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.

None yet

2 participants