|Re: [mosquitto-dev] What is the significance of calling _mosquitto_socket_nonblock if sock is blocking|
I've just replied on the ticket, please see here for the full answer.
In short, the function _mosquitto_try_connect must always return a non-blocking socket but set the non-blocking either before connecting or just after, depending if caller wants to wait (block) during the connection or do a "asynchronous" connection (cf mosquitto_connect_async).
Hope this help you.
Le 02/01/2018 à 18:07, Zinahe Asnake a écrit :
Back to the top