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

net: add TcpSocket for configuring a socket #2920

Merged
merged 5 commits into from Oct 7, 2020
Merged

net: add TcpSocket for configuring a socket #2920

merged 5 commits into from Oct 7, 2020

Conversation

carllerche
Copy link
Member

This enables the caller to configure the socket and to explicitly bind
the socket before converting it to a TcpStream or TcpListener.

Refs: #2902

This enables the caller to configure the socket and to explicitly bind
the socket before converting it to a `TcpStream` or `TcpListener`.

Refs: #2902
Copy link
Member

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

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

LGTM! (Pending docs of course)

@Darksonn Darksonn added A-tokio Area: The main tokio crate M-net Module: tokio/net labels Oct 7, 2020
@carllerche carllerche merged commit a9a59ea into master Oct 7, 2020
@carllerche carllerche deleted the tcp-socket branch October 7, 2020 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-net Module: tokio/net
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants