Skip to content

TcpChannel Class Example Has Errors #10314

Open
@MaxFun

Description

@MaxFun

Type of issue

Code doesn't work

Description

[Enter feedback here]
When I copy and paste the code example of a server(https://learn.microsoft.com/en-us/dotnet/api/system.runtime.remoting.channels.tcp.tcpchannel?view=netframework-4.8.1) into a console app in VS2022, it has a lot of errors. Even the "using System.Runtime.Remoting.Channels;" is an error.
code example shows a server.zip
Where do i find a working example or how to fix this one.
Need to add what IDE that the examples worked on to reduce problems

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.runtime.remoting.channels.tcp.tcpchannel?view=netframework-4.8.1

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Runtime.Remoting.Channels.Tcp/TcpChannel.xml

Document Version Independent Id

be2b05de-e3ef-5732-416d-624b057189f9

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityarea-System.RuntimeuntriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions