Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] connect_async() returns error 14

Hello colleagues!
I use the libmosquittopp in Windows 8/10.
When connecting to the broker via mosquittopp::connect_async(), this function returns error 14 (MOSQ_ERR_ERRNO), errno = 10057 (WSAENOTCONN - Socket is not connected).
The error can be avoided if to call mosquittopp::loop_start() before connect_async().
In Ubuntu there are no problems, everything works like clockwork.
In what may be the cause in Windows?
Thank you.
Serge.

Back to the top