unknown
1970-01-01 00:00:00 UTC
Thanks for any hints!
Stéphane
--14dae934066152e49e04bd9f62a5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Been using ASIO for the past 18 months or so, works great on Linux, Windows, and Mac, so for that I thank you! Using it a bit for things like name resolution, but mostly using it for UDP, TCP, and SSL sockets.<br><br>All the socket read + writes used so far in this app are of this style:<br>
<br><a href="http://www.boost.org/doc/libs/1_49_0/doc/html/boost_asio/reference/basic_stream_socket/read_some/overload2.html">http://www.boost.org/doc/libs/1_49_0/doc/html/boost_asio/reference/basic_stream_socket/read_some/overload2.html</a><br>
<a href="http://www.boost.org/doc/libs/1_49_0/doc/html/boost_asio/reference/basic_stream_socket/write_some/overload2.html">http://www.boost.org/doc/libs/1_49_0/doc/html/boost_asio/reference/basic_stream_socket/write_some/overload2.html</a><br>
<br>Problem is when network connectivity interrupts communication between clients and servers. App needs to jump in and do some recovery long before the 13 or 15 minute timeout finally takes effect. So I'm now looking though the reference docs thinking: "there's probably an override for those methods that takes some kind of timeout value... Maybe takes an absolute boost::posix_time::ptime or better yet a simple relative boost::posix_time::time_duration as a "timeout" parameter.<br>
<br>But I cannot find anything of the sort.
Stéphane
--14dae934066152e49e04bd9f62a5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Been using ASIO for the past 18 months or so, works great on Linux, Windows, and Mac, so for that I thank you! Using it a bit for things like name resolution, but mostly using it for UDP, TCP, and SSL sockets.<br><br>All the socket read + writes used so far in this app are of this style:<br>
<br><a href="http://www.boost.org/doc/libs/1_49_0/doc/html/boost_asio/reference/basic_stream_socket/read_some/overload2.html">http://www.boost.org/doc/libs/1_49_0/doc/html/boost_asio/reference/basic_stream_socket/read_some/overload2.html</a><br>
<a href="http://www.boost.org/doc/libs/1_49_0/doc/html/boost_asio/reference/basic_stream_socket/write_some/overload2.html">http://www.boost.org/doc/libs/1_49_0/doc/html/boost_asio/reference/basic_stream_socket/write_some/overload2.html</a><br>
<br>Problem is when network connectivity interrupts communication between clients and servers. App needs to jump in and do some recovery long before the 13 or 15 minute timeout finally takes effect. So I'm now looking though the reference docs thinking: "there's probably an override for those methods that takes some kind of timeout value... Maybe takes an absolute boost::posix_time::ptime or better yet a simple relative boost::posix_time::time_duration as a "timeout" parameter.<br>
<br>But I cannot find anything of the sort.