diff options
author | Balint Seeber <balint@ettus.com> | 2014-03-27 01:27:33 -0700 |
---|---|---|
committer | Balint Seeber <balint@ettus.com> | 2014-03-27 11:33:38 -0700 |
commit | 8b8d7ee57ce4029411cde48810e2ec6eac7ae5f2 (patch) | |
tree | 5bfa18d6edd9b6ef65403e0a69890326620f8f1d /gr-blocks/grc | |
parent | 1092e685defd10692d3fa47435c716a88dfd8712 (diff) |
blocks: added 'MTU' and 'tcp_no_delay' params for 'socket_pdu' (and GRC option), applied MTU (buffer size) to TCP/UDP send, separate TCP/UDP server endpoint resolvers for empty/0.0.0.0 Host param (listen on all interfaces)
Whitespace clean-up.
Diffstat (limited to 'gr-blocks/grc')
-rw-r--r-- | gr-blocks/grc/blocks_socket_pdu.xml | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/gr-blocks/grc/blocks_socket_pdu.xml b/gr-blocks/grc/blocks_socket_pdu.xml index 1e897cfc4b..72dc38134c 100644 --- a/gr-blocks/grc/blocks_socket_pdu.xml +++ b/gr-blocks/grc/blocks_socket_pdu.xml @@ -8,7 +8,7 @@ <name>Socket PDU</name> <key>blocks_socket_pdu</key> <import>from gnuradio import blocks</import> - <make>blocks.socket_pdu($type, $host, $port, $mtu)</make> + <make>blocks.socket_pdu($type, $host, $port, $mtu, $tcp_no_delay)</make> <param> <name>Type</name> <key>type</key> @@ -49,6 +49,31 @@ <value>10000</value> <type>int</type> </param> + <param> + <name>TCP No Delay</name> + <key>tcp_no_delay</key> + <value>False</value> + <type>enum</type> + <hide> +#if (($type() == '"TCP_CLIENT"') or ($type() == '"TCP_SERVER"')) +#if (str($tcp_no_delay()) == 'False') +part +#else +none +#end if +#else +all +#end if +</hide> + <option> + <name>Enabled</name> + <key>True</key> + </option> + <option> + <name>Disabled</name> + <key>False</key> + </option> + </param> <sink> <name>pdus</name> <type>message</type> @@ -59,4 +84,5 @@ <type>message</type> <optional>1</optional> </source> + <doc>For server modes, leave Host blank to bind to all interfaces (equivalent to 0.0.0.0).</doc> </block> |