Automobile.Communication.Tcp.TcpServerCommunicator.AcceptMultiple C# (CSharp) Method

AcceptMultiple() private method

Recieve multiple connections, each connection is passed to the callback in a new thread. Does not return.
private AcceptMultiple ( ConnectionCallback callback ) : void
callback ConnectionCallback
return void
        private void AcceptMultiple(ConnectionCallback callback)
        {
            while(true)
            {
                var comm = new TcpServerCommunicator(Port, AcceptClient());
                var thread = new Thread(() => callback(comm));
                thread.Start();
            }
        }