Home > Back-end >  C Builder XE TIdTCPServer and TIdTCPClient (10.5) how to pass with the map
C Builder XE TIdTCPServer and TIdTCPClient (10.5) how to pass with the map

Time:10-26

C + + Builder XE TIdTCPServer and TIdTCPClient (10.5) how to transfer in map
Is said to be serialized to pass. How to serialize?

CodePudding user response:

Sometimes for the sake of the data is stored persistently, also need to be serialized, ready-made open source serialization library has boost the serialization library, support for the map, the common container serialization/deserialization operations such as vector,

http://blog.csdn.net/cay22/article/details/4386394

CodePudding user response:

Is there a simple point the serialization of the component? The boost is so bloated.

CodePudding user response:

Send the values are read out the map, on the other side of the reconstruction after the past

CodePudding user response:

The map with a total of 2 layers.
Map The Map;


reference dataxdata reply: 3/f
map the values are read out, send in the past on the other side of the reconstruction after


There's a better way?

CodePudding user response:

Anyway, always sends the data in the past, if not using the data export/import of the class itself, can only read out bit by bit, it can directly send the original data in the past, to establish a map on the other side of the reconstruction, established by a set of data in each side of a map

CodePudding user response:

reference dataxdata reply: 3/f
map the values are read out, send in the past on the other side of the reconstruction after

Can you provide me the code? Thank you very much!

CodePudding user response:

refer to 6th floor fangjunai response:
can you provide the code? Thank you very much!

Is used to build the map of the original data is more suitable in the past
  • Related