We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9bc1ec0 + bb9282a commit e64f743Copy full SHA for e64f743
src/zbeacon.c
@@ -758,8 +758,11 @@ s_beacon_send (agent_t *self)
758
(char *) zframe_data (self->transmit), zframe_size (self->transmit),
759
0, // Flags
760
(struct sockaddr *) &self->broadcast, sizeof (inaddr_t));
761
- if (size == SOCKET_ERROR)
762
- s_handle_io_error ("sendto");
+ // Sending can fail if the OS is blocking multicast. In such cases we
+ // don't try to report the error. We might log this or send to an error
763
+ // console at some point.
764
+ if (size == SOCKET_ERROR)
765
+ /* s_handle_io_error ("sendto") */ ;
766
}
767
768
// Destroy agent instance
0 commit comments