You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In network.c, _z_open_udp_unicast() calls setsockopt() passing a z_time_t value, while in Windows it should be DWORD type.
Fixed by using:
#ifdef WIN32
DWORD tv = tout;
#else
z_time_t tv;
tv.time = tout / (uint32_t)1000;
tv.millitm = tout % (uint32_t)1000;
#endif
To reproduce
Start either a publisher or a subscriber with no parameters in Windows without zenohd running.
The application will stuck in Opening session... and the expected timeout is not honored.
System info
Windows 11
The text was updated successfully, but these errors were encountered:
Describe the bug
In network.c,
_z_open_udp_unicast()
callssetsockopt()
passing az_time_t
value, while in Windows it should beDWORD
type.Fixed by using:
To reproduce
Start either a publisher or a subscriber with no parameters in Windows without zenohd running.
The application will stuck in Opening session... and the expected timeout is not honored.
System info
Windows 11
The text was updated successfully, but these errors were encountered: