Exemplo n.º 1
0
        public void JsonTest()
        {
            ServerSocketOne sso = new ServerSocketOne();
            Socket          s   = sso.StartHost();
            JsonBytes       jb  = new JsonBytes(s);

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

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

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