录制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;
} 解决了。RemoteHost指定IP就OK了 问下,LrsLastArg 是什么意思?
页:
[1]