Network data packing and unpacking example

I spend an unreasonable amount of time trying to figure this out. How to pack your data so you can send it across a TCP connection, receive it on the other side, know what data you received and unpack it accordingly. Hence sharing it, hopefully its useful to someone out there ^_^

Leave a Reply

Your email address will not be published. Required fields are marked *