On Tue, Jun 1, 2010 at 10:31, murugadoss <murugadoss2884 at 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