Skip to content

improve TcpClient.GetStream() snippet - #7540

Merged
gewarren merged 2 commits into
dotnet:mainfrom
geoffkizer:fixtcpclientsample
Jan 4, 2022
Merged

gewarren merged 2 commits into
dotnet:mainfrom
geoffkizer:fixtcpclientsample

Conversation

@geoffkizer

Copy link
Copy Markdown
Contributor

Summary

See linked issue for problems that are addressed.

Fixes dotnet/runtime#63154

@geoffkizer
geoffkizer requested a review from a team as a code owner December 30, 2021 23:35
@ghost

ghost commented Dec 30, 2021

Copy link
Copy Markdown

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@opbld30

opbld30 commented Dec 31, 2021

Copy link
Copy Markdown

Docs Build status updates of commit 6cee126:

✅ Validation status: passed

File Status Preview URL Details
samples/snippets/csharp/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/CS/source.cs ✅Succeeded View

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@ghost

ghost commented Jan 4, 2022

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Summary

See linked issue for problems that are addressed.

Fixes dotnet/runtime#63154

Author: geoffkizer
Assignees: -
Labels:

area-System.Net

Milestone: -

@ericstj
ericstj requested a review from a team January 4, 2022 17:17

@wfurt wfurt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@opbld31

opbld31 commented Jan 4, 2022

Copy link
Copy Markdown

Docs Build status updates of commit 0bbda41:

✅ Validation status: passed

File Status Preview URL Details
samples/snippets/csharp/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/CS/TcpClient.csproj ✅Succeeded
samples/snippets/csharp/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/CS/source.cs ✅Succeeded View

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@gewarren
gewarren merged commit 413f558 into dotnet:main Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TcpClient.GetStream() sample code is incorrect and confusing

6 participants