G Guest Jan 28, 2005 #1 how can I handle when data is received from TcpClient.GetStream. i'd like an event raised when data arrives thanks, mike w.
how can I handle when data is received from TcpClient.GetStream. i'd like an event raised when data arrives thanks, mike w.
T Tom Shelton Jan 28, 2005 #2 how can I handle when data is received from TcpClient.GetStream. i'd like an event raised when data arrives thanks, mike w. Click to expand... Really, the easiest way is to avoid the tcp client and use async sockets. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconsockets.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.
how can I handle when data is received from TcpClient.GetStream. i'd like an event raised when data arrives thanks, mike w. Click to expand... Really, the easiest way is to avoid the tcp client and use async sockets. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconsockets.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.