Jump to content
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 20 October 2012 - 11:55 AM
Posted 20 October 2012 - 12:21 PM
Posted 21 October 2012 - 05:49 AM
std::ostringstream archive_stream; boost::archive::text_oarchive archive(archive_stream); archive << myStruct; sendto(Socket, archive_stream.str().c_str(), sizeof(archive_stream.str().c_str()), 0, (SOCKADDR *) & SockAddr, sizeof(SockAddr));but how to I receive them on the other end?
Edited by Fezziwig, 21 October 2012 - 05:50 AM.
Posted 24 October 2012 - 10:09 PM
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.