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

snet: refactor Listens and Dials (#1694) #3521

Merged
merged 1 commit into from
Dec 16, 2019

Conversation

lukedirtwalker
Copy link
Collaborator

@lukedirtwalker lukedirtwalker commented Dec 16, 2019

  • Remove bind
  • Use a single method Listen / Dial
  • Use {s}net.UDPAddr as arguments
  • Improve naming of arguments

Contributes #3136


This change is Reviewable

- Remove bind
- Use a single method Listen / Dial
- Use {s}net.UDPAddr as arguments
- Improve naming of arguments

Contributes scionproto#3136
Copy link
Contributor

@scrye scrye left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 16 of 16 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@lukedirtwalker lukedirtwalker merged commit c2b6c9f into scionproto:master Dec 16, 2019
@lukedirtwalker lukedirtwalker deleted the pubSnetRefactor branch December 16, 2019 09:07
lukedirtwalker pushed a commit that referenced this pull request Dec 17, 2019
Explicitly allow Dial/Listen using IPv6 addresses, by removing the fixed `"udp4"` network string. The actual address type checks have already been removed very recently in #3521.
Pass "udp" as network in all Dial/Listen calls.
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