What is a good tutorial/howto on .net / c# socket programming

Charley Rathkopf picture Charley Rathkopf · Sep 19, 2008 · Viewed 20.6k times · Source

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.

I'm using UDP, not TCP at this time.

Answer

jeffm picture jeffm · Sep 19, 2008

The August 2005 MSDN Magazine had an article about System.Net.Sockets and WinSock:

http://msdn.microsoft.com/en-us/magazine/cc300760.aspx