Example #1
0
 public static bool IsNetRun(NetworkProtol np)
 {
     if (np == NetworkProtol.Tcp)
     {
         return(m_TcpNet != null && m_TcpNet.IsNetRun());
     }
     else if (np == NetworkProtol.Kcp)
     {
         return(false); //m_KcpNet != null && m_KcpNet.IsNetRun();
     }
     return(false);
 }