I've trawled the internet searchiing for an explaination on how to do this.
I'm working on an assignment and we are told to "transmit a whole object to the server".
As far as I know, the send function of winsock2 only allows you to send data of type char, so how can you transmit an object? Is there a way to convert an object to type char and then convert it back to an object the other end?
I'm at a loss here!