| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| 2 |
"http://www.w3.org/TR/html4/strict.dtd"> |
| 3 |
<html> |
| 4 |
<head> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 6 |
<title>sendmulticast</title> |
| 7 |
<meta http-equiv="Content-Style-Type" content="text/css"> |
| 8 |
<link rel="stylesheet" href="../../style.css" type="text/css"> |
| 9 |
</head> |
| 10 |
|
| 11 |
<body> |
| 12 |
|
| 13 |
|
| 14 |
<h1>sendmulticast</h1> |
| 15 |
|
| 16 |
<p> |
| 17 |
Sends the data to the multicast host. <em>(version 4.62 or later)</em> |
| 18 |
</p> |
| 19 |
|
| 20 |
<pre class="macro-syntax"> |
| 21 |
sendmulticast <multicastname> <data1> <data2>.... |
| 22 |
</pre> |
| 23 |
|
| 24 |
<h2>Remarks</h2> |
| 25 |
|
| 26 |
<p> |
| 27 |
Causes Tera Term to sends characters to the multicast terminal specified by <multicastname> argument or <a href="../../commandline/teraterm.html">command line option</a>. Beforehand, the name of terminal identification must be configured by using <a href="setmulticastname.html">setmulticastname</a> command.<br> |
| 28 |
If <data> is a string, the string is sent to the host. <br> |
| 29 |
If <data> is an integer, its lowest-order byte (0-255) is regarded as an ASCII code of the character, and the character is sent to the host. |
| 30 |
</p> |
| 31 |
|
| 32 |
<p> |
| 33 |
NOTICE: Sent data is ignored on the terminal the <a href="../../menu/setup-additional.html">AcceptBroadcast</a> is disabled. |
| 34 |
</p> |
| 35 |
|
| 36 |
<h2>Example</h2> |
| 37 |
|
| 38 |
<pre class="macro-example"> |
| 39 |
; TerminalA |
| 40 |
setmulticastname 'screen1' |
| 41 |
; Do not receive any strings. |
| 42 |
</pre> |
| 43 |
|
| 44 |
<pre class="macro-example"> |
| 45 |
; TerminalB |
| 46 |
setmulticastname 'screen2' |
| 47 |
; The 'violin' string will be sent by the TerminalD. |
| 48 |
</pre> |
| 49 |
|
| 50 |
<pre class="macro-example"> |
| 51 |
; TerminalC |
| 52 |
setmulticastname 'screen2' |
| 53 |
; The 'violin' string will be sent by the TerminalD. |
| 54 |
</pre> |
| 55 |
|
| 56 |
<pre class="macro-example"> |
| 57 |
; TerminalD |
| 58 |
setmulticastname 'screen3' |
| 59 |
sendmulticast 'screen2' 'violin' 13 10 ; Multicast transmission |
| 60 |
; Do not receive any strings. |
| 61 |
</pre> |
| 62 |
|
| 63 |
</body> |
| 64 |
</html> |