M
Markgoldin
tcpl = new TcpListener(ipe);
TcpClient tcpc = tcpl.AcceptTcpClient();
while (true)
{
// get data
while (true)
{
// if contidion met break;
}
}
How can I check if a client has been disconnected from the listener?
I want to do that in order to stop the outer while loop.
Thanks for help.
TcpClient tcpc = tcpl.AcceptTcpClient();
while (true)
{
// get data
while (true)
{
// if contidion met break;
}
}
How can I check if a client has been disconnected from the listener?
I want to do that in order to stop the outer while loop.
Thanks for help.