Boost logo

Boost :

Subject: Re: [boost] Boost Sending Files over network Sockets
From: Boris (boriss_at_[hidden])
Date: 2008-12-29 06:26:05


On Mon, 29 Dec 2008 07:52:40 +0100, master master
<master_4_master_at_[hidden]> wrote:

>
> I want to send images over tcp network socket. I guess it will be
> sending images as binary data over socket stream but how to do that
> specially with Boost Library. I am using Visual Studio 8.0 so vc 9.0.
> Any example or source will be good.

As my book about Boost has a similar exercise for the reader (he is asked
to create a client/server application to transfer any file over the
network) I attach a possible solution.

Boris




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk