Start() публичный Метод

Start listening for connections
public Start ( ) : void
Результат void
Пример #1
0
        /// <summary>
        /// Start the world running.
        /// </summary>
        public void Start()
        {
            //Start the tcp listener
            m_tcp.Start();

            //Set up world updates
            m_lastWorldUpdateTime = Environment.TickCount;
            m_updateWorld         = true;

            //Start world update thread
            m_worldUpdateThread = new Thread(WorldUpdate);
            //m_worldUpdateThread.Priority = ThreadPriority.AboveNormal;
            m_worldUpdateThread.Start();
        }