()
| 31 | public class Program |
| 32 | { |
| 33 | public static void Test2() |
| 34 | { |
| 35 | var so = new TcpSocket(new Service("connector"), "127.0.0.1", 9999); |
| 36 | so.SetOutputSecurityCodec(new byte[]{1}, 1); |
| 37 | var r = new Random(1234); |
| 38 | var s = new byte[1024 * 1024 * 2]; |
| 39 | for (;;) |
| 40 | { |
| 41 | for (int i = 0; i < s.Length; i++) |
| 42 | s[i] = (byte)r.Next(16); |
| 43 | Console.WriteLine(so.Send(s)); |
| 44 | Thread.Sleep(1000); |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | public static void Test1() |
| 49 | { |
nothing calls this directly
no test coverage detected