Boost logo

Boost Users :

Subject: Re: [Boost-users] Transferring files across a network.
From: Andrew Maclean (andrew.amaclean_at_[hidden])
Date: 2009-01-31 22:13:15


Thanks for that I forgot about it!

Andrew

On Sun, Feb 1, 2009 at 11:06 AM, Cliff Green <cliffg_at_[hidden]> wrote:
>> I now have a client and a server that can handle multiple files being
>> sent over the network. The files are attached for your interest. If
>> anyone can improve them I really will welcome their comments.
>>
>> If there is a need, it is Ok to include them as examples in the ASIO
>> documentation. I have no issues with this.
>
> I mentioned this before, but here goes again - the following:
>
> sizeof(buffer_)
>
> should be:
>
> buffer_.size()
>
> Alignment or padding on some compilers might cause sizeof(buffer_) to be
> incorrect (different than buffer_size(), although it's probably rare).
>
> Cliff
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

-- 
___________________________________________
Andrew J. P. Maclean
Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney  2006  NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.acfr.usyd.edu.au/
___________________________________________

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net