Example #1
0
 public static string GetServerIP(NetworkProtol np)
 {
     if (np == NetworkProtol.Tcp)
     {
         return(m_TcpNet.GetServerIP());
     }
     else if (np == NetworkProtol.Kcp)
     {
         return("");// m_KcpNet.GetServerIP();
     }
     return("");
 }