51Testing软件测试论坛
标题:
录制socket协议,回放显示Host socket0 is unknown. Error code : 9008;什么问题?
[打印本页]
作者:
qiuyan
时间:
2013-7-11 10:42
标题:
录制socket协议,回放显示Host socket0 is unknown. Error code : 9008;什么问题?
录制socket协议,回放显示Host socket0 is unknown. Error code : 9008;
防火墙都关闭了。
LocalHost也指定IP了
Action()
{
lrs_create_socket("socket0", "TCP", "LocalHost=192.168.0.108", "RemoteHost=bogon:8000", LrsLastArg);
lrs_send("socket0", "buf0", LrsLastArg);
lrs_receive("socket0", "buf1", LrsLastArg);
lrs_send("socket0", "buf2", LrsLastArg);
lrs_receive("socket0", "buf3", LrsLastArg);
lrs_close_socket("socket0");
return 0;
}
作者:
qiuyan
时间:
2013-7-11 11:05
解决了。RemoteHost指定IP就OK了
作者:
hzjceshi2009
时间:
2013-8-22 14:36
问下,LrsLastArg 是什么意思?
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2