static public void TestMessageRoundTripIPv4() { var msg1 = "Sally sells seashells by the seashore."; TcpCommon.DoMsgRoundTrip(msg1 + "\n", msg1); TcpCommon.DoMsgRoundTrip(msg1 + "\r\n", msg1); var msg2a = "The seashells she sells are seashore shells,"; var msg2b = "\r\nOf that I'm sure.\r\n"; TcpCommon.DoMsgRoundTrip(msg2a + msg2b, msg2a); TcpCommon.DoMsgRoundTrip("\n", ""); TcpCommon.DoMsgRoundTrip("\r\n", ""); }
static public void TestConnectionIPv6() { TcpCommon.DoMsgRoundTrip("meow\n", "meow"); }