summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/tcp_connection.h
Commit message (Collapse)AuthorAgeFilesLines
* gr-blocks: remove pdu blocksJacob Gilbert2021-03-181-54/+0
| | | | | | | | | | | | | | | | | | | | | | | | The following have been moved to the new gr::pdu module or to gr::network and are no longer needed in gr::blocks: - pdu (noblock) - pdu_filter block - pdu_remove block - pdu_set block - pdu_to_tagged_stream block - random_pdu block - socket_pdu block - stream_pdu_base (noblock) - tagged_stream_to_pdu block - tcp_connection (noblock) - tuntap_pdu block The digital and FEC modules had a large number of references to the PDU blocks that were moved from gr-blocks to gr-pdu, this updates these changes in example flowgraphs and a few python files. The usage-manual update will be propagated to the wiki so that future exports will remain up to date. Signed-off-by: Jacob Gilbert <jacob.gilbert@protonmail.com>
* blocks/tcp_connection: Remove manual memory managementThomas Habets2020-08-141-6/+2
|
* Switch from boost pointers to std C++11 pointersThomas Habets2020-04-011-3/+3
| | | | | | | | | | | | | | | | | | | Most of this code is automated code changes: ``` set -e SUB="s/dummy/dummy/" for i in shared_ptr make_shared dynamic_pointer_cast weak_ptr enable_shared_from_this get_deleter; do SUB="$SUB;s/boost::$i/std::$i/g" done SUB="$SUB;s^#include <boost/shared_ptr.hpp>^#include <memory>^g" SUB="$SUB;s^namespace boost^namespace std^g" find . \( -name "*.cc" -o -name "*.h" -o -name "*.i" -o -name "*.cxx" -o -name "*.py" \) -print0 | xargs -0 sed -i "$SUB" ``` Only one manual change. In `./gr-fec/lib/fec_mtrx_impl.cc`, add `#include <algorithm>`.
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* clang-format: Ordering all the includesMarcus Müller2019-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-21/+27
|
* Swap new/delete memory management with boost::shared_ptrBrian Orr2017-08-161-3/+3
|
* Fix invalid Asio buffer usage in tcp_connectionBrian Orr2017-08-091-1/+3
| | | | | | | | | Asio requires that the underlying buffer passed to `async_write()` remain valid valid until the handler was called. The previous version was allocating a vector on the stack which gets destroyed once the `send()` method returns. Added a unit test for TCP server.
* Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-071-3/+3
| | | | We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
* blocks: added 'MTU' (buffer size) & 'no_delay' params to 'tcp_connection' ↵Balint Seeber2014-03-271-4/+4
| | | | (no longer uses fixed buffer)
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-291-4/+5
|
* gruel: moved gruel into subdirs of gnuradio-runtime.Tom Rondeau2013-04-011-1/+1
| | | | PMTs are handled slightly different and are installed into their own module and include dir.
* blocks: added includes necessary for Windows compilationNicholas Corgan2013-03-051-0/+1
|
* blocks: added gr::blocks::socket_pduJohnathan Corgan2013-02-281-0/+60