http://www.codeproject.com/KB/IP/ChatAsynchTCPSockets.aspx
Download source - 28.6 Kb
Introduction
In this article, I will discuss a chat application using asynchronous TCP sockets in C#. In the next part of this article, I will present an asynchronous UDP socket based chat application.
TCP Asynchronous Sockets
TCP asynchronous sockets have a Begin and End appended to the standard socket functions, like BeginConnect, BeginAccept, BeginSend, and BeginReceive. Let's take a look at one o......
阅读全文