|
录制的sockect协议的脚本 没保存的时候可以正常回放,但是保存后在回放就直接结束,没有任何报错。有谁知道这是为什么啊?
Action()
{
lrs_create_socket("socket0", "TCP", "RemoteHost=192.168.0.208:1333", LrsLastArg);
lrs_receive("socket0", "buf0", LrsLastArg);
lrs_send("socket0", "buf1", LrsLastArg);
lrs_receive("socket0", "buf2", LrsLastArg);
lr_think_time(11);
lrs_send("socket0", "buf3", LrsLastArg);
lrs_receive("socket0", "buf4", LrsLastArg);
lrs_close_socket("socket0");
return 0;
}
;WSRData 2 1
recv buf0 91
"<cross-domain-policy><allow-access-from domain=\"*\" to-ports=\"1333\"/></"
"cross-domain-policy>"
"\x00"
send buf1 119
"<root from='sam5' to='sam5' type='login' time='2010-7-31 11:20:03' call='c"
"f51ace0-e60d-43a7-b69d-1257ace22bd5'say='' />"
recv buf2 124
"<root from='sam5' to='sam5' type='loadUser' time='2010-7-31 11:20:03' call"
"='cf51ace0-e60d-43a7-b69d-1257ace22bd5' say='' />"
"\x00"
send buf3 126
"<root from='sam5' to='sam5' type='text' time='2010-7-31 11:20:14' call='8c"
"1c6f93-280b-4ce9-a16b-bd787089362e' say='hello.' /> "
recv buf4 126
"<root from='sam5' to='sam5' type='text' time='2010-7-31 11:20:14' call='8c"
"1c6f93-280b-4ce9-a16b-bd787089362e' say='hello.' />"
"\x00"
-1 |
|