private void ListenerThreadProc() { while (true) { TransportClient client = AcceptClient(); listener.OnAcceptClient(client); } }