Menu

passing C++ objects

Help
2004-09-27
2012-11-20
  • Mario Rodriguez Villanea

    Can I pass my C++ objects as messages thru a TCPSocket?

     
    • David Sugar

      David Sugar - 2004-12-22

      In a crude way, you could "write" the object, assuming the target platform is the same endian, etc.    A much better approach may be to look at using the persistance engine to serialize the class, perhaps with some work getting it to do so directly into a TCPStream...

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.