Updates to udp source/sink (select(), wait, cleanup)
authorDon Ward <don2387ward@sprynet.com>
Fri, 30 Apr 2010 18:48:56 +0000 (14:48 -0400)
committerDon Ward <don2387ward@sprynet.com>
Fri, 30 Apr 2010 18:48:56 +0000 (14:48 -0400)
commit3ff43f7487b43436cd0f49de80ebff2c1ff1a188
tree3ef94f3a602f50a828c3b61726117ddd2043cf33
parent3b8fcaa640d75573d314fb8616969ad2adf2a099
Updates to udp source/sink (select(), wait, cleanup)

Use select() to avoid blocking on recv() in gr_udp_source (only known
way to avoid blocking on Cygwin).

Add wait argument to gr_udp_source to allow waiting for connection
or accepting lack of connection as EOF; add --no-wait option to
dial_tone_sink.py.

Remove system dependencies from .h files; remove unused data members
and (useless?) public open and close functions.
gnuradio-core/src/lib/io/gr_udp_sink.cc
gnuradio-core/src/lib/io/gr_udp_sink.h
gnuradio-core/src/lib/io/gr_udp_source.cc
gnuradio-core/src/lib/io/gr_udp_source.h
gnuradio-core/src/lib/io/gr_udp_source.i [changed mode: 0644->0755]
gnuradio-examples/python/network/dial_tone_sink.py