summaryrefslogtreecommitdiff
path: root/gr-blocks/grc
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2014-03-31 12:58:18 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2014-03-31 12:58:18 -0700
commit9d8060422c90ade3277333c5fd1a9161f4899584 (patch)
treeb5c82f6c6b2575fa62eb5f75116d49bafa6e7ce7 /gr-blocks/grc
parent02db9b636dfa890e44ab21de505a05ba8157391d (diff)
parent8b8d7ee57ce4029411cde48810e2ec6eac7ae5f2 (diff)
Merge remote-tracking branch 'balint/3.7-1/socket_pdu_improvements'
Diffstat (limited to 'gr-blocks/grc')
-rw-r--r--gr-blocks/grc/blocks_socket_pdu.xml28
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>