Can u send me the example just for viewing.



From: Andrew Maclean <andrew.amaclean@gmail.com>
To: boost-users@lists.boost.org
Sent: Monday, 2 February, 2009 10:35:58 AM
Subject: Re: [Boost-users] Transferring files across a network.

I have just modified the code so it directly reads from the file and
writes to the file instead of into an iostream object. Much faster.

So if someone is adding examples to the ASIO docs, I wil be glad to
send them the examples.

Regards
Andrew

On Mon, Feb 2, 2009 at 5:03 AM, Cliff Green <cliffg@codewrangler.net> wrote:
> From: "Andrew Maclean" <andrew.amaclean@gmail.com>
>>
>> Thanks for that I forgot about it!
>
> No problem! It might be that every commonly used C++ compiler has
> sizeof(boost::array<char, N>) == sizeof(char[N]),  but unless there's a
> guarantee I'm missing, I could see an odd compiler that pads or aligns in
> some strange fashion, causing rare and hard-to-diagnose errors. Definitely
> you're good with (boost::array<char,N>).size() == sizeof(char[N]).
>
> Thanks for the example code - it would be good to add it (and others) to the
> Asio docs.
>
> Speaking of which, I know Chris K has been busy (or in poor health?) and
> mostly unavailable for a while - I wonder if he wouldn't mind granting
> someone edit access to the Asio source for documentation purposes (or minor
> bug fixes). There's been a wealth of knowledge shared through the Boost and
> Asio mail lists, such as serial IO examples and run / poll / work  service
> explanations.
>
> Cliff
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users@lists..boost.org
> 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 mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users


Check out the all-new Messenger 9.0! Click here.