Re: [BangPypers] sending binary files over socket

2010-06-01 Thread Roshan Mathews
On Tue, Jun 1, 2010 at 10:31, murugadoss murugadoss2...@gmail.com wrote: I need to pack and send a binary file over socket. The binary file is already existing. Define a protocol, using http://code.google.com/p/protobuf/ That's one way. Roshan Mathews

[BangPypers] sending binary files over socket

2010-05-31 Thread murugadoss
hi, I need to pack and send a binary file over socket. The binary file is already existing. Do i need to unpack and read the file and then pack it once again using struct.pack or i can directly send the binary file. Since the binary file is very big,reading and packing is little difficult in