[SDL] Transfer binary files using SDLNet_TCP_Send()

Olivier Delannoy olivier.delannoy at gmail.com
Fri Mar 23 08:48:27 PDT 2007


You load the file by chunk in a  memory buffer and send loaded chunk using
SDLNet_TCP_Send(). Send work like write on file. Basically it's exactly the
same as copying a file.

On 3/23/07, Eduardo Fernandes <ceduardodfernandes at gmail.com> wrote:
>
> Hi,
>
> I would like to know how you to transfer binary files using
> SDLNet_TCP_Send().
>
> I´m a C programmer working at a software house developing a game in SDL.
>
> thanks
>
> Eduardo Fernandes
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>


-- 
Olivier Delannoy
ATER
PRiSM Laboratory
Versailles University, FRANCE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070323/5eb7e033/attachment.htm 


More information about the SDL mailing list