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

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

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

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