cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
How to pass the structure vector over th
How to pass the structure vector over the socket in c++
Jul 28, 2011 at 7:01am
Jul 28, 2011 at 7:01am UTC
aimdharma1990
(1)
i created the structure and i bind the structue in to the vector..
now i want to send the vector to the client .
i refer i net i want to do the serilization..
i don't know how to do that..
please help me..
Jul 28, 2011 at 10:06am
Jul 28, 2011 at 10:06am UTC
Galik
(2254)
You could write an insertion and extraction operator for your struct. Here is an example using a class, but it works the same for a struct.
http://cplusplus.com/forum/general/47470/#msg258043
Topic archived. No new replies allowed.