I have few questions what I don't understand in answer Can a TCP c# client receive and send continuously/consecutively without sleep? .
1) Where he defined ShutdownEvent, are need be each defined event in Sender and Receiver?
2) Can someone give full example of how need continue code
else if (_stream.Read(_data, 0, _data.Length) > 0)
{
// Raise the DataReceived event w/ data...
}
also how and where he defined _data.
3) after somehow I setup _data do need setup event as ShutdownEvent.WaitOne(1) ?
sorry for a lot of questions, thanks in advance