|Subject:||Re: [Discuss-gnuradio] UDP Source Error (on windows)|
|Date:||Thu, 19 May 2016 16:15:20 +0300|
> OK, I was able to reproduce the issue, and it appears to me to a core
> GNURadio issue not specifically related to the installer
> udp_source_impl.cc is setting the SO_LINGER option on the UDP socket,
> which at least on Windows, causes a WSAENOPROTOOPT exception, because
> linger doesn't really mean anything for a UDP socket.
> Perhaps the Linux folks can help here, but I'm guessing that this
> option must be simply ignored on Linux so there is no error for most
> users. Looking at the man pages doesn't specify any particular
> behavior required.
SO_LINGER gets processed by the Linux kernel generically here:
with no check against socket type.
The UDP socket handling doesn't use the resulting SOCK_LINGER flag
Only TCP and the Bluetooth SCO protocol in the Linux kernel care about
|[Prev in Thread]||Current Thread||[Next in Thread]|