kopia lustrzana https://github.com/Hamlib/Hamlib
Revert "Add nonblocking mode to multicast for recv_from use"
This reverts commit f9bd07bbf5
.
pull/1413/head
rodzic
f9bd07bbf5
commit
6b558c5d2a
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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);
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Ładowanie…
Reference in New Issue