summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/udp_sink_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* blocks: remove deprecated network blocksJosh Morman2021-04-211-132/+0
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* removed ssize_t, which is not standard C, and we're a C++ projectMarcus Müller2021-02-231-5/+7
| | | | | | Co-authored-by: Josh Morman <jmorman@perspectalabs.com> Signed-off-by: Josh Morman <jmorman@perspectalabs.com> Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* clang-tidy: run full .clang-tidy on C++17 codebaseMarcus Müller2021-01-191-2/+2
| | | | | | | | | | | | | | | | | | | | run /usr/share/clang/run-clang-tidy.py -checks=file '-header-filter=.*' -fix .. from build directory. Then, clang-format -i $(git diff --name-only origin/master) to clang-format changed files. Then, refresh all header hashes in pybind bindings (*/python/bindings/*.cc) Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* C++14: Use std::make_unique instead of boost::make_uniqueMarcus Müller2021-01-041-2/+2
| | | | | | Also, clean up includes Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* Replace all calls to `get_initial_sptr` with `make_block_sptr`Thomas Habets2020-07-301-2/+2
| | | | | | | | | | | | | | First batch of changes: ``` find […] -print0 | xargs -0 sed -i -r '/get_initial_sptr/{:nxt N;/;/!b nxt;s/get_initial_sptr\(\s*new ([^(]+)(.*)\)\)/make_block_sptr<\1>\2)/}' ``` Then: * Back out `sptr_magic.h` edits * Change some `friend` clauses * clang-format the whole thing * Update checksums in the pybind11 bindings files
* blocks/udp_sink: Remove manual memory managementThomas Habets2020-03-271-2/+3
|
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* clang-tidy in gnuradio-runtime: use empty() instead of size()!=0Marcus Müller2019-08-221-1/+1
|
* clang-format: Ordering all the includesMarcus Müller2019-08-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang-format: ordering includes in gnuradio-runtime clang-format: ordering includes in gr-filter clang-format: ordering includes in gr-fft clang-format: ordering includes in gr-audio clang-format: ordering includes in gr-analog clang-format: ordering includes in gr-fec clang-format: ordering includes in gr-wavelet clang-format: ordering includes in gr-zeromq clang-format: ordering includes in gr-vocoder clang-format: ordering includes in gr-video-sdl clang-format: ordering includes in gr-trellis clang-format: ordering includes in gr-blocks clang-format: ordering includes in gr-digital clang-format: ordering includes in gr-uhd clang-format: ordering includes in gr-dtv clang-format: ordering includes in gr-channels clang-format: ordering includes in gr-qtgui clang_format.py: re-enable include reordering
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-86/+78
|
* udp sink: actually send 0-byte packets at EOFAndy Sloane2016-04-251-1/+1
| | | | Adjusted udp source to expect a 0-byte packet at EOF too.
* blocks: UDP sink does not enforce IPv4Jiří Pinkava2014-11-171-3/+2
|
* blocks: updated UDP source to handle no network connections by allowing use ↵Tom Rondeau2013-11-161-1/+2
| | | | | | of loopback device. Also fixed an infrequent problem on shutdown before the thread exited. Updated QA code to verify ports used will not clash.
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-291-5/+5
|
* Merge branch 'master' into nextJohnathan Corgan2013-04-031-0/+1
|\
| * blocks: MSVC compatibility fixesNicholas Corgan2013-04-031-0/+1
| | | | | | | | | | * udp_sink_impl includes <boost/array.hpp> * rotator doesn't export a symbol
* | gruel: moved gruel into subdirs of gnuradio-runtime.Tom Rondeau2013-04-011-3/+3
|/ | | | PMTs are handled slightly different and are installed into their own module and include dir.
* blocks: fixing some UDP handling of ports/options; using gr-blocks blocks in QA.Tom Rondeau2013-03-131-0/+3
|
* blocks: udp_sink and udp_source implemented in gr-blocks using boost::asio ↵Tom Rondeau2013-03-131-0/+145
instead of sockets. Needs testing on non-Linux OSes.