无法找到消息.
我在action里面写了这段代码,然后就报buf0不存在的错误了.请问哪位知道问题在哪啊?char buf0={"0"};
char buf1;
lrs_create_socket("socket0","TCP","LocalHost=0","RemoteHost=192.168.161.42:6666",LrsLastArg);
lrs_send("socket0","buf0",LrsLastArg);
lrs_receive("socket0","buf1",LrsLastArg);
lrs_close_socket("socket0");
结果:Specified buffer buf0 doesn't exist. Error code : 9011. buf0应该是在data.ws文件中修改的吧? :L
解决方案
在date.ws中加;WSRData 2 1
send buf0 5
“hello”
recv buf1 0
-1
页:
[1]