Boost logo

Boost Users :

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


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