[CentOS] Network communication between hosts

derleader __ derleader at abv.bg
Wed Dec 29 00:28:48 UTC 2010


 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 at centos.org
 >http://lists.centos.org/mailman/listinfo/centos
 >
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20101229/a642e84d/attachment.html>


More information about the CentOS mailing list