Example #1
0
            public void ParseHostFromSocketTest()
            {
                Console.WriteLine(System.Reflection.MethodBase.GetCurrentMethod().Name);

                string host = IPSocket.ParseHostFromSocket("localhost:5060");

                Console.WriteLine("host=" + host);
                Assert.IsTrue(host == "localhost", "The host was not parsed correctly.");
            }