$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Interrupting Socket connect()
From: Jonathan Franklin (franklin.jonathan_at_[hidden])
Date: 2009-11-02 11:22:54
On Sun, Nov 1, 2009 at 11:31 PM, Simon Reye <simon.reye_at_[hidden]> wrote:
> Is there a way to cancel or interrupt the connect() call?
Set the socket to non-blocking, and then use poll/select. Or just use
the ASIO async_connect mechanism.
Jon