> 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 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user