node-red/packages/node_modules/@node-red/nodes/locales/zh-TW/network/32-udp.html

29 lines
1.6 KiB
HTML
Raw Normal View History

<!--
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="udp in">
<p>UDP輸入節點。在<code>msg.payload</code>中生成Buffer字符串或Base64編碼的字符串。支持組播。</p>
<p><code>msg.ip</code><code>msg.port</code>中設置接收到的消息的IP地址和端口。</p>
<p><b>注意:</b>在某些系統上您可能需要root或管理員權限才能使用低于1024的端口或廣播。</p>
</script>
<script type="text/x-red" data-help-name="udp out">
<p>該節點將<code>msg.payload</code>發送到指定的UDP主機和端口。支持組播。</p>
<p>您也可以使用<code>msg.ip</code><code>msg.port</code>設置目標值,但是靜態配置的值具有優先權。</p>
<p>如果選擇廣播則將地址設置爲本地廣播IP地址。或者也可以嘗試使用全局廣播地址255.255.255.255。</p>
<p><b>注意:</b>在某些系統上您可能需要root或管理員權限才能使用低于1024的端口或廣播。</p>
</script>