In article <0D**********************************@microsoft.co m>, mike w. wrote:
how can I handle when data is received from TcpClient.GetStream.
i'd like an event raised when data arrives
thanks,
mike w.
Really, the easiest way is to avoid the tcp client and use async
sockets.
http://msdn.microsoft.com/library/de...consockets.asp
The above is a good introduction to .net sockets in general, but you
would want to pay close attention to the sections on asyncronous
sockets.
--
Tom Shelton [MVP]
OS Name: Microsoft Windows XP Professional
OS Version: 5.1.2600 Service Pack 2 Build 2600
System Up Time: 9 Days, 23 Hours, 16 Minutes, 22 Seconds