예제 #1
0
        public void Simple()
        {
            Default.SimpleTest <string, PipeListener, Pipe>(Default.Pipename);

            Loop.Default.Run(async() => await Default.SimpleTestAsync <string, PipeListener, Pipe>(Default.Pipename));
        }
예제 #2
0
        public void SimpleTest(IPEndPoint ep)
        {
            Default.SimpleTest <IPEndPoint, TcpListener, Tcp>(ep);

            Loop.Default.Run(async() => await Default.SimpleTestAsync <IPEndPoint, TcpListener, Tcp>(ep));
        }