示例#1
0
        public bool Start(string IP, ushort port)
        {
            if (NetworkEngine.Start(IP, port) == false)
            {
                return(false);
            }

            return(true);
        }
示例#2
0
        public bool Start(IPAddress IP, ushort port)
        {
            if (NetworkEngine.Start(IP.ToString(), port) == false)
            {
                return(false);
            }

            return(true);
        }
示例#3
0
        public bool Start(ushort port)
        {
            if (NetworkEngine.Start("0.0.0.0", port) == false)
            {
                return(false);
            }

            return(true);
        }