Browse Subversion Repository
Annotation of /branches/ttcomtester/tests/#37048-sendmulticast.ttl
Parent Directory
| Revision Log
Revision 10521 -
( hide annotations)
( download)
Fri Jan 20 16:03:38 2023 UTC
(14 months, 3 weeks ago)
by zmatsuo
File size: 431 byte(s)
add communication test tool
| 1 |
doda |
6876 |
mcast = "multicast-test" |
| 2 |
|
|
|
| 3 |
|
|
for i 1 3 |
| 4 |
|
|
call opentt |
| 5 |
|
|
unlink |
| 6 |
|
|
next |
| 7 |
|
|
|
| 8 |
|
|
call opentt |
| 9 |
|
|
|
| 10 |
doda |
6883 |
callmenu 50814 |
| 11 |
|
|
|
| 12 |
doda |
6876 |
sendmulticast mcast "hexdump -C"#10 |
| 13 |
|
|
|
| 14 |
|
|
pause 1 |
| 15 |
|
|
|
| 16 |
|
|
sendmulticast mcast "0: " 0 ", 1:" 1 ","#13#10 |
| 17 |
|
|
|
| 18 |
doda |
6878 |
;pause 1 |
| 19 |
|
|
|
| 20 |
|
|
sendmulticast mcast "1:"#1","#13#10 |
| 21 |
|
|
|
| 22 |
doda |
6876 |
pause 1 |
| 23 |
|
|
|
| 24 |
doda |
6878 |
str = "1:"#1","#13#10 |
| 25 |
|
|
sendmulticast mcast str |
| 26 |
|
|
|
| 27 |
|
|
pause 1 |
| 28 |
|
|
|
| 29 |
doda |
6876 |
sendmulticast mcast 4 |
| 30 |
|
|
end |
| 31 |
|
|
|
| 32 |
|
|
:opentt |
| 33 |
|
|
cygconnect |
| 34 |
|
|
wait "%" "$" "#" |
| 35 |
|
|
setmulticastname mcast |
| 36 |
|
|
return |
|