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