Browse Subversion Repository
Contents of /branches/ttcomtester/tests/#37048-sendmulticast.ttl
Parent Directory
| Revision Log
Revision 10521 -
( show 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 |
mcast = "multicast-test" |
| 2 |
|
| 3 |
for i 1 3 |
| 4 |
call opentt |
| 5 |
unlink |
| 6 |
next |
| 7 |
|
| 8 |
call opentt |
| 9 |
|
| 10 |
callmenu 50814 |
| 11 |
|
| 12 |
sendmulticast mcast "hexdump -C"#10 |
| 13 |
|
| 14 |
pause 1 |
| 15 |
|
| 16 |
sendmulticast mcast "0: " 0 ", 1:" 1 ","#13#10 |
| 17 |
|
| 18 |
;pause 1 |
| 19 |
|
| 20 |
sendmulticast mcast "1:"#1","#13#10 |
| 21 |
|
| 22 |
pause 1 |
| 23 |
|
| 24 |
str = "1:"#1","#13#10 |
| 25 |
sendmulticast mcast str |
| 26 |
|
| 27 |
pause 1 |
| 28 |
|
| 29 |
sendmulticast mcast 4 |
| 30 |
end |
| 31 |
|
| 32 |
:opentt |
| 33 |
cygconnect |
| 34 |
wait "%" "$" "#" |
| 35 |
setmulticastname mcast |
| 36 |
return |
|