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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!