What is a good tutorial/howto on .net / c# socket programming(什么是 .net/c# 套接字编程的好教程/howto)
问题描述
我正在将使用 Winsock 控件的旧 VB6 代码移植到 C#.我还没有做过任何套接字编程,我想知道是否有人有一个很好的参考/教程/howto 可以用来开始加快速度.
I'm porting old VB6 code that uses the Winsock control to C#. I haven't done any socket programming and I wonder if anyone has a good reference/tutorial/howto that I can use to start getting up to speed.
当我继续进行通常效率低下的谷歌搜索时,我正在吸引蜂巢思维.
I'm appealing to the hive mind while I proceed with my generally unproductive googling.
我现在使用的是 UDP,而不是 TCP.
I'm using UDP, not TCP at this time.
推荐答案
2005 年 8 月的 MSDN 杂志有一篇关于 System.Net.Sockets 和 WinSock 的文章:
The August 2005 MSDN Magazine had an article about System.Net.Sockets and WinSock:
http://msdn.microsoft.com/en-us/magazine/cc300760.aspx
这篇关于什么是 .net/c# 套接字编程的好教程/howto的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:什么是 .net/c# 套接字编程的好教程/howto


- Web Api 中的 Swagger .netcore 3.1,使用 swagger UI 设置日期时间格式 2022-01-01
- 带有服务/守护程序应用程序的 Microsoft Graph CSharp SDK 和 OneDrive for Business - 配额方面返回 null 2022-01-01
- WebMatrix WebSecurity PasswordSalt 2022-01-01
- 良好实践:如何重用 .csproj 和 .sln 文件来为 CI 创建 2022-01-01
- 输入按键事件处理程序 2022-01-01
- C# 中多线程网络服务器的模式 2022-01-01
- 如何用自己压缩一个 IEnumerable 2022-01-01
- 在哪里可以找到使用中的C#/XML文档注释的好例子? 2022-01-01
- C#MongoDB使用Builders查找派生对象 2022-09-04
- MoreLinq maxBy vs LINQ max + where 2022-01-01