fix mqtt receive on proxspace

This commit is contained in:
iceman1001 2025-07-09 08:21:21 +02:00
commit 815d445382

View file

@ -66,7 +66,7 @@ int open_nb_socket(const char *addr, const char *port) {
// make non-blocking
if (hSocket != INVALID_SOCKET) {
uint32_t mode; // FIONBIO returns size on 32b
uint32_t mode = 1; // FIONBIO returns size on 32b
ioctlsocket(hSocket, FIONBIO, (u_long *)&mode);
}