Rework UDP source and sink, with incompatible API changes
Remove source address specifications for sink; add connect() anddisconnect() to sink; add get_port() to source; add optional EOFsignaling (using zero-length packets) to sink and source; modifydial_tone, vector, and audio examples to match new code; add qa...
Merge branch 'master' into udp
Updates to udp source/sink (select(), wait, cleanup)
Use select() to avoid blocking on recv() in gr_udp_source (only knownway to avoid blocking on Cygwin).
Add wait argument to gr_udp_source to allow waiting for connectionor accepting lack of connection as EOF; add --no-wait option to...
Convert gr-audio-portaudio to Boost via gruel
Remove omnithread dependency in build for gr-audio-portaudioRemove unused debugging utility class in gnuradio-core (gri_logger)
Discard data in gr_udp_sink until receiver is started.
Also fixes warnings from gcc 4.3 and adds <boost/bind.hpp> for usrp2.
Use getaddrinfo in gr_udp_{source,sink}
Using getaddrinfo allows more common code between posix and winsocksystems. Remove unused variables and #include files. Close socketswhen done.
Changes to gr_udp_{source,sink} for MinGW
Initialize and cleanup after winsock DLL. Interpret winsock errorcodes. Use DWORD instead of timeval for setting timeout.
Ignore ENOPROTOOPT return from setsockopt(SO_LINGER)
SO_LINGER is not valid for SOCK_DGRAM sockets on Windows, so weexpect setsockopt to return ENOPROTOOPT (invalid option forprotocol) on Cygwin and MinGW. If it happens on any other systemit should probably be ignored there, too.
Use gruel::mutex instead of pthread_mutex in gr_histo_sink_f.
Patch-by: Don Ward <[email protected]>
Added git ignore files auto created from svn:ignore properties.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11592 221aa14e-8319-0410-a670-987f0aec2ac5
View revisions
Also available in: Atom