public SocketServer() { myFtdiDevice = new FTDIDevice(); connectDongle(); dongleMessageMutex = new Mutex(); listeningThread = new Thread(new ThreadStart(lookForClients)); streamingThread = new Thread(new ThreadStart(StreamData)); streamingThread.IsBackground = true; listeningThread.IsBackground = true; streamingThread.Start(); listeningThread.Start(); }