public void ReceiveMap() { ClientThread ct = new ClientThread(socket, end, slavedriver, ReturnCommands); commands = new List<Command>(); //Thread t = new Thread(new ThreadStart(ct.SendRecieve)); //t.Start(); //blocking! ct.SendRecieve(); }