mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
fix mqtt receive on proxspace
This commit is contained in:
parent
931e93a11b
commit
815d445382
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue