Пример #1
0
        public static HssCF_cmd Read_next_hCmd(Socket rmSocket)
        {
            HssCF_cmd recv_hCmd = new HssCF_cmd();

            recv_hCmd.Read_from_str(HssCF_helper.Read_str_from_socket(rmSocket));

            return(recv_hCmd);
        }
Пример #2
0
        public static int Send_obj_to_rmSocket(Socket rmSocket, I_RESTful obj)
        {
            if (obj == null)
            {
                return(-2);
            }
            string str = obj.Convert_to_str();

            return(HssCF_helper.Send_str_to_rmSocket(rmSocket, str));
        }