[asio] async connect vs sync connect
2 Oct
2009
2 Oct
'09
1:16 p.m.
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
5521
Age (days ago)
5521
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mathieu Peyréga