|
录制一个c\s结构的脚本,录制完了,会发发现无法回放,具体原因见下面代码:
vuser_init()
{
lrs_create_socket("socket0", "TCP", "LocalHost=0", "RemoteHost=192.168.0.99:1521", LrsLastArg);
lrs_send("socket0", "buf0", LrsLastArg);
lrs_receive("socket0", "buf1", LrsLastArg);
lrs_close_socket("socket0");
lrs_create_socket("socket1", "TCP", "LocalHost=0", "RemoteHost=192.168.0.99:1667", LrsLastArg);
lrs_send("socket1", "buf2", LrsLastArg);
lrs_receive("socket1", "buf3", LrsLastArg);
回放到红色这句出错:
vuser_init.c(20): Error : callConnect - Connection refused. Error code : 10061.
vuser_init.c(20): Error : Timeout expired while trying to connect. Error code : 9017.
这是什么原因??
而且我发现每次录制录制到的这个端口号都是不一样的,怎么办?
请大家指教!! |
|