TA的每日心情 | 奋斗 2016-12-6 13:46 |
---|
签到天数: 13 天 连续签到: 1 天 [LV.3]测试连长
|
4#
楼主 |
发表于 2016-7-11 15:25:00
|
只看该作者
vuser_init()
{
lrs_startup(257);
lr_think_time(8);
lrs_create_socket("socket0", "UDP", "LocalHost=4024", LrsLastArg);
lrs_send("socket0", "buf0", "TargetSocket=111.161.88.110:8000", LrsLastArg);
lrs_receive("socket0", "buf1", LrsLastArg);
lrs_send("socket0", "buf2", "TargetSocket=111.161.88.110:8000", LrsLastArg);
lrs_receive("socket0", "buf3", LrsLastArg);
lrs_close_socket("socket0");
lrs_create_socket("socket1", "UDP", "LocalHost=4024", LrsLastArg);
lrs_send("socket1", "buf4", "TargetSocket=111.161.88.110:8000", LrsLastArg);
lrs_receive("socket1", "buf5", LrsLastArg);
lrs_send("socket1", "buf6", "TargetSocket=111.161.88.110:8000", LrsLastArg);
lrs_send("socket1", "buf7", "TargetSocket=111.161.88.110:8000", LrsLastArg);
lrs_receive("socket1", "buf8", LrsLastArg);
这脚本我都看不懂啊,这个就是我录制出来的东西 |
|