Boost logo

Boost Users :

Subject: [Boost-users] [asio] async connect vs sync connect
From: Mathieu Peyréga (mathieu.peyrega_at_[hidden])
Date: 2009-10-02 09:16:13


Hello,

I have a TCP client program using boost 1.40 asio framework and a question.

I have an external LAN hosted TCP server ready to accept connexions
(functionnal and tested with other means)

On my client side, when using the async connect function, it sometimes
take up to 2-3 seconds before the connexion handler is called.
If I use the synchronous connect function, it is almost immediate.

Is there a way to speed up the connexion time, while using the async
method ?

Regards,

Mathieu


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