Revert "Add nonblocking mode to multicast for recv_from use"

This reverts commit f9bd07bbf5.
pull/1413/head
Mike Black W9MDB 2023-10-30 10:21:58 -05:00
rodzic f9bd07bbf5
commit 6b558c5d2a
2 zmienionych plików z 0 dodań i 7 usunięć

Wyświetl plik

@ -1094,12 +1094,6 @@ int network_multicast_publisher_start(RIG *rig, const char *multicast_addr,
} }
socket_fd = socket(AF_INET, SOCK_DGRAM, 0); socket_fd = socket(AF_INET, SOCK_DGRAM, 0);
u_long mode = 1; // Enable non-blocking mode
#ifdef __MINGW32__
ioctlsocket(socket_fd, FIONBIO, &mode);
#else
ioctl(socket_fd, FIONBIO, &mode);
#endif
if (socket_fd < 0) if (socket_fd < 0)
{ {

Wyświetl plik

@ -270,7 +270,6 @@ declare_proto_rig(hamlib_version);
declare_proto_rig(test); declare_proto_rig(test);
declare_proto_rig(cm108_get_bit); declare_proto_rig(cm108_get_bit);
declare_proto_rig(cm108_set_bit); declare_proto_rig(cm108_set_bit);
declare_proto_rig(set_conf);
/* /*