Skip to content

Conversation

@jon-chuang
Copy link
Contributor

@jon-chuang jon-chuang commented Feb 27, 2022

Todo:

  • convert all uses of OsSocket to socket2::Socket (to reduce dependencies)

Future:

  • Unix datagram

Comments:

  • Looking at Add TCP, UDP and Unix socket support #40, apparently I reverted on suggestion not to use ToSocketAddress. Personally, I like the use better, and also it is more consistent with tokio API. So I'm proposing to keep this change.

@jon-chuang
Copy link
Contributor Author

Ready for review

@jon-chuang jon-chuang force-pushed the unix branch 2 times, most recently from 8ecc6a7 to 98ab4b2 Compare February 27, 2022 07:59
@jon-chuang jon-chuang changed the title Add unix stream Add unix stream & listener Feb 27, 2022
@Noah-Kennedy
Copy link
Contributor

This is almost there, just a couple more changes are needed.

Copy link
Contributor

@Noah-Kennedy Noah-Kennedy left a comment

Choose a reason for hiding this comment

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

I left some feedback comments for what needs addressed.

Copy link
Contributor

@Noah-Kennedy Noah-Kennedy left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for doing this!

@Noah-Kennedy
Copy link
Contributor

@jon-chuang run cargo fmt and push the formatting changes to appease the CI gods.

@jon-chuang
Copy link
Contributor Author

The gods are appeased :)

@Noah-Kennedy Noah-Kennedy merged commit 3176149 into tokio-rs:master Mar 2, 2022
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