node-red/packages/node_modules/@node-red/nodes/locales/zh-CN/network/31-tcpin.html

36 lines
2.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--
Copyright JS Foundation and other contributors, http://js.foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/x-red" data-help-name="tcp in">
<p>提供TCP输入选择可以连接到远程TCP端口或接受传入连接</p>
<p><b>注意</b>root访1024</p>
</script>
<script type="text/x-red" data-help-name="tcp out">
<p>提供TCP输出的选择可以连接到远程TCP端口接受传入的连接或回复从TCP In节点收到的消息</p>
<p>仅发送<code>msg.payload</code></p>
<p>如果<code>msg.payload</code>Base64Base64</p>
<p>如果不存在<code>msg._session</code><b></b></p>
<p><b>注意</b>root访1024</p>
</script>
<script type="text/x-red" data-help-name="tcp request">
<p>一个简单的TCP请求节点<code>msg.payload</code>tcp</p>
<p>连接到服务器发送请求并接收响应 可以从固定数量的字符与指定字符匹配的字符中选择操作从第一个答复到达起等待指定的时间等待数据到达发送数据并立即取消连接而无需等待答复等操作中进行选择</p>
<p>响应将在<code>msg.payload</code>buffer<code>.toString()</code></p>
<p>如果将tcp主机或端口留空则必须使用<code>msg.host</code><code>msg.port</code></p>
</script>