예제 #1
0
        public void JsonTest()
        {
            ServerSocketOne sso = new ServerSocketOne();
            Socket          s   = sso.StartHost();
            JsonBytes       jb  = new JsonBytes(s);

            try
            {
                jb.Recived += PrintObject;
            }
            catch (Exception)
            {
            }
        }
예제 #2
0
        public void StringTest()
        {
            ServerSocketOne sso = new ServerSocketOne();
            Socket          s   = sso.StartHost();
            StringBytes     sb  = new StringBytes(s);

            try
            {
                sb.Recived += PrintString;
            }
            catch (Exception)
            {
            }
        }
예제 #3
0
        public void SerialTest()
        {
            ServerSocketOne sso = new ServerSocketOne();
            Socket          s   = sso.StartHost();
            SerialBytes     sb  = new SerialBytes(s);

            try
            {
                sb.Recived += PrintObject;
            }
            catch (Exception)
            {
            }
        }