|
sdlkfj7 把参数表的数据设成2个一样的可以运行成功,没有任何错误
但是如果设成2个不同的数据,第一个运行成功没有任何错误,第二个会报出Action.c(53): Error : socket2 - Software caused connection abort. Error code : 10053.
Action()
{
lr_think_time(63);
lrs_create_socket("socket0", "TCP", "LocalHost=0", "RemoteHost=192.168.0.54:9080", LrsLastArg);
lrs_send("socket0", "buf0", LrsLastArg);
lrs_receive("socket0", "buf1", LrsLastArg);
lrs_send("socket0", "buf2", LrsLastArg);
lrs_receive("socket0", "buf3", LrsLastArg);
lr_think_time(24);
lrs_create_socket("socket1", "TCP", "RemoteHost=192.168.0.54:9080", LrsLastArg);
lr_start_transaction("pop");
lrs_send("socket1", "buf4", LrsLastArg);
lrs_receive("socket1", "buf5", LrsLastArg);
lrs_close_socket("socket0");
这行是录制时存放lrs_create_socket("socket2", "TCP", "LocalHost=0", "RemoteHost=192.168.0.54:9080", LrsLastArg)的,现在被切到init里了,报错会出现在下面的某行里,但是好像不会出现在buf 6, buf 7,这2行
lrs_send("socket2", "buf6", LrsLastArg);
lrs_receive("socket2", "buf7", LrsLastArg);
lrs_send("socket2", "buf8", LrsLastArg);
lrs_receive("socket2", "buf9", LrsLastArg);
lrs_send("socket2", "buf10", LrsLastArg);
lrs_receive("socket2", "buf11", LrsLastArg);
lrs_send("socket2", "buf12", LrsLastArg);
lrs_receive("socket2", "buf13", LrsLastArg);
注:如果输入的数据不同,录制时产生的socket数也不尽相同,不知该错误和这有关系没
[ 本帖最后由 weiwei555 于 2007-5-30 17:34 编辑 ] |
|