//public AdvanceSimulator(int portNum, string returnValue) /// <summary> /// Constructor for Simulator /// </summary> /// <param name="portNum">The socket number you want to listen</param> public AdvanceSimulator(int portNum) { //tsListen = new ThreadForAdvanceSim(portNum, returnValue, new SimCallbackAdvance(setBack)); tsListen = new ThreadForAdvanceSim(portNum, new SimCallbackAdvance(setReturnString)); }