C:\Users\lv454\Desktop\TCPServer\TCPServer\bin\Debug\netcoreapp3.1\TCPServer.exe
C:\Users\lv454\Desktop\TCPServer\TCPServer\bin\Debug\netcoreapp3.1\TCPServer.deps.json
C:\Users\lv454\Desktop\TCPServer\TCPServer\bin\Debug\netcoreapp3.1\TCPServer.runtimeconfig.json
C:\Users\lv454\Desktop\TCPServer\TCPServer\bin\Debug\netcoreapp3.1\TCPServer.runtimeconfig.dev.json
C:\Users\lv454\Desktop\TCPServer\TCPServer\bin\Debug\netcoreapp3.1\TCPServer.dll
C:\Users\lv454\Desktop\TCPServer\TCPServer\bin\Debug\netcoreapp3.1\TCPServer.pdb
C:\Users\lv454\Desktop\TCPServer\TCPServer\obj\Debug\netcoreapp3.1\TCPServer.csproj.AssemblyReference.cache
C:\Users\lv454\Desktop\TCPServer\TCPServer\obj\Debug\netcoreapp3.1\TCPServer.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\lv454\Desktop\TCPServer\TCPServer\obj\Debug\netcoreapp3.1\TCPServer.AssemblyInfoInputs.cache
C:\Users\lv454\Desktop\TCPServer\TCPServer\obj\Debug\netcoreapp3.1\TCPServer.AssemblyInfo.cs
C:\Users\lv454\Desktop\TCPServer\TCPServer\obj\Debug\netcoreapp3.1\TCPServer.csproj.CoreCompileInputs.cache
C:\Users\lv454\Desktop\TCPServer\TCPServer\obj\Debug\netcoreapp3.1\TCPServer.dll
C:\Users\lv454\Desktop\TCPServer\TCPServer\obj\Debug\netcoreapp3.1\TCPServer.pdb
C:\Users\lv454\Desktop\TCPServer\TCPServer\obj\Debug\netcoreapp3.1\TCPServer.genruntimeconfig.cache
没有合适的资源?快使用搜索试试~ 我知道了~
C# TCP sever & client
共55个文件
cache:11个
json:10个
cs:6个
需积分: 15 12 下载量 167 浏览量
2022-11-16
13:44:28
上传
评论
收藏 369KB ZIP 举报
温馨提示
TCP协议是一个基本的网络协议,基本上所有的网络服务都是基于TCP协议的,如HTTP,FTP等等,所以要了解网络编程就必须了解基于TCP协议的编程。然而TCP协议是一个庞杂的体系,要彻底的弄清楚它的实现不是一天两天的功夫,所幸的是在.net framework环境下,我们不必要去追究TCP协议底层的实现,一样可以很方便的编写出基于TCP协议进行网络通讯的程序。 要进行基于TCP协议的网络通讯,首先必须建立同远程主机的连接,连接地址通常包括两部分——主机名和端口,如www.yesky.com:80中,www.yesky.com就是主机名,80指主机的80端口,当然,主机名也可以用IP地址代替。当连接建立之后,就可以使用这个连接去发送和接收数据包,TCP协议的作用就是保证这些数据包能到达终点并且能按照正确的顺序组装起来。 在.net framework的类库(Class Library)中,提供了两个用于TCP网络通讯的类,分别是TcpClient和TcpListener。由其英文意义显而易见,TcpClient类是基于TCP协议的客户端类,而TcpListener是服务器端,监听
资源推荐
资源详情
资源评论
收起资源包目录
C# TCP sever & client.zip (55个子文件)
C# TCP sever & client
TCPServer
.vs
TCPServer
v16
.suo 23KB
DesignTimeBuild
.dtbcache.v2 60KB
TCPServer.sln 1KB
TCPServer
bin
Debug
netcoreapp3.1
TCPServer.runtimeconfig.json 154B
TCPServer.exe 171KB
TCPServer.runtimeconfig.dev.json 174B
TCPServer.deps.json 419B
TCPServer.dll 6KB
TCPServer.pdb 10KB
Program.cs 1KB
obj
TCPServer.csproj.nuget.dgspec.json 2KB
project.assets.json 2KB
project.nuget.cache 286B
TCPServer.csproj.nuget.g.props 1KB
TCPServer.csproj.nuget.g.targets 294B
Debug
netcoreapp3.1
TCPServer.genruntimeconfig.cache 42B
TCPServer.csproj.FileListAbsolute.txt 1KB
TCPServer.AssemblyInfo.cs 1010B
TCPServer.csproj.AssemblyReference.cache 11B
TCPServer.csproj.CoreCompileInputs.cache 42B
apphost.exe 171KB
TCPServer.dll 6KB
TCPServer.AssemblyInfoInputs.cache 42B
TCPServer.GeneratedMSBuildEditorConfig.editorconfig 133B
.NETCoreApp,Version=v3.1.AssemblyAttributes.cs 190B
TCPServer.assets.cache 140B
TCPServer.pdb 10KB
TCPServer.csproj 178B
TCPClient
.vs
TCPClient
v16
.suo 23KB
DesignTimeBuild
.dtbcache.v2 60KB
TCPClient.sln 1KB
TCPClient
TCPClient.csproj 178B
bin
Debug
netcoreapp3.1
TCPClient.exe 171KB
TCPClient.runtimeconfig.dev.json 174B
TCPClient.deps.json 419B
TCPClient.dll 6KB
TCPClient.runtimeconfig.json 154B
TCPClient.pdb 10KB
Program.cs 2KB
obj
project.assets.json 2KB
TCPClient.csproj.nuget.g.targets 294B
project.nuget.cache 286B
TCPClient.csproj.nuget.g.props 1KB
TCPClient.csproj.nuget.dgspec.json 2KB
Debug
netcoreapp3.1
TCPClient.GeneratedMSBuildEditorConfig.editorconfig 133B
TCPClient.AssemblyInfo.cs 1010B
TCPClient.AssemblyInfoInputs.cache 42B
TCPClient.csproj.CoreCompileInputs.cache 42B
apphost.exe 171KB
TCPClient.assets.cache 140B
TCPClient.dll 6KB
TCPClient.csproj.FileListAbsolute.txt 1KB
TCPClient.genruntimeconfig.cache 42B
.NETCoreApp,Version=v3.1.AssemblyAttributes.cs 190B
TCPClient.pdb 10KB
共 55 条
- 1
资源评论
爱编程不爱bug
- 粉丝: 4
- 资源: 23
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功