Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
sir i created tcp client and server program

i want to send one vector (vector having the structure) from client side to server side..

can you give any suggestions for my requirement....
Posted
Updated 27-Jul-11 0:51am
v2
Comments
Christian Graus 27-Jul-11 7:29am    
Not sure what the question is. Is it, in what form to send your data ? If so, the deleted answer was good, send it as XML.

1 solution

You need to serialize/deserialize your data.

The deleted answer offered a serialization using XML. This is a good solution.
You can use binary data if you prefer but the idea remains the same.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900