Boost logo

Boost Users :

Subject: [Boost-users] boost concurrent write/read
From: Marco Piacentini (marcopiacenta_at_[hidden])
Date: 2011-03-09 05:22:40


Hi guys...a simple question.. what happen if there are concurrent write/write(for example async_write_some) or write/read(for example async_write_some and async_read_some) operation on the same socket?I have handle this problem or it is automatically handled by boost functions? And if I have to send a lot of data, to avoid congestion problem, I need a buffer? thank you... ________________________________ Da: Rutger ter Borg <rutger_at_[hidden]> A: boost-users_at_[hidden] Inviato: Lun 7 marzo 2011, 15:48:49 Oggetto: Re: [Boost-users] basic_endpoint how to assign it > but the first parameter of the async_connect is a endpoint and not a > basic_endpoint... erm... I hope you are aware that an endpoint is a basic_endpoint (through inheritance)? boost::asio::ip::tcp::endpoint target( boost::asio::ip::address::from_string( "127.0.0.1" ), 1000 ); socket_.async_connect( target, bind( ... ) ); HtH, Rutger _______________________________________________ Boost-users mailing list Boost-users_at_[hidden] http://lists.boost.org/mailman/listinfo.cgi/boost-users



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