protected StartupResultEnum Startup(uint maxConnections, ushort port, string host) { StartupResultEnum result = m_peer.Startup(maxConnections, port, host); if (result == StartupResultEnum.RAKNET_STARTED) { m_timerAction = new Action(ReceiveMessageInternal); m_timer = new MyTimer(1, m_timerAction); m_timer.Start(); } return(result); }
public StartupResult Startup() { return(peer.Startup()); }