[Gambas-user] using sockets to send binay files
Benoît Minisini
gambas at ...1...
Sun Apr 11 14:46:56 CEST 2010
> Hi,
>
> Is there some way to send binary files using gambas sockets? Reading and
> sending byte per byte is too much slow.
>
> I read old post from Benoit about this and I think it's no possible at this
> time. It's true?
>
> Regards,
> Ricardo Díaz
Use the WRITE or the PRINT instruction. For example:
PRINT #MySocket, File.Load("/path/to/myfile");
Don't forget the ";" at the end of the PRINT instruction, otherwise a newline
will be added.
Regards,
--
Benoît Minisini
More information about the User
mailing list