TMessage and std::vector

Hi,

I am using the network connection, therefore classes as TSocket and TMessage. I have created various my classes which have to transfer from client to my server. My classes inherit the TObject class and they contain some variable like std::vector.
In the client, I create the instance of my class, fill the related vector and send it by TMessage.
I have observed when I read my class by my server, it has lost the elements of its vector.
Someone can explain me what is the problem?

thanks in advance,
Vincenzo