Re: Network communication between hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Thank you for the reply.
   The data is not so much - CPU utilization, RAM utilization, List of installed software, list of users and so on. The information is not so much. What are the options for this task is there a C++ library that I can use to convert the data and then to transfer if via network?

Regards
Peter


>> I need advice about developing C++ program. I need to develop 2
>> application which must communicate via network using SSL encryption.
>> The problem is in which format to exchange the data. I can use XML
>> format to exchange data between the hosts but a lot traffic will be
>> generated. What are the usual practices to exchange data between the
>> hosts?
>
>rather offtopic for this list. but...
>
>XML is about the most inefficient format imaginable, typically exploding
>your data to many times its original size, especially if it has lots of
>small fields
>
>what format is the data in now that you're exchanging? I'd want to use
>something close to the native format of the data. if performance is
>important, you'll want to transmit the data in binary as close to its
>native format as possible. if its complex structured data such as is
>often expressed in XML, you could look at defining a binary interchange
>format with JSON or ASN.1, but I'd be more inclined to roll my own
>simple binary message format since its just between your own two programs.
>
>
>
>
>_______________________________________________
>CentOS mailing list
>CentOS@xxxxxxxxxx
>http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux