[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: 2 Player mode





Jens Granseuer wrote:
The one thing we need dynamicity (?) for is history->Save( buffer ),
and string could be wrapped to do that, but it doesn't support
SDLNet_Recv( socket, string.c_str(), size )...


Well you first read the header, extract the size info for the following data, do a malloc(size) and pass this pointer to SDLNet_Recv.


Why not?

Regards
Henk

--
-------------------------------------------------------------------------
  Henk Jonas
  Palm OS ® certified developer

  metaview@xxxxxx                                   www.metaviewsoft.de
-------------------------------------------------------------------------