I have a client/server setup working using SDL_Net - works great !! Now I
would like to copy binary data from the server to the client, for doing
things like ensuring the client has the latest version of graphics and game
I have a few questions I hope you can help me with.
Whats the largest size file you can throw at SDL_Net ? Does the underlying
TCP stack break the file into packets and then reassemble them at the other
end, or will I need to break the file up myself and send it bit by bit ? And
if so, whats the largest size packet I can use ?
For copying a SDL_Surface across the network, I thought I could just send
the pixel data to the client and then use SDL_CreateRGBSurfaceFrom to create
a ‘local’ SDL_Surface. How do I work out the size of the pixel data ? Is it
height x width x depth ?
Thanks for any help
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.286 / Virus Database: 152 - Release Date: 10/9/2001
IMPORTANT: This e-mail, including any attachments, may contain private or
confidential information. If you think you may not be the intended
recipient, or if you have received this e-mail in error, please contact the
sender immediately and delete all copies of this e-mail. If you are not the
intended recipient, you must not reproduce any part of this e-mail or
disclose its contents to any other party.