TA的每日心情 | 开心 2015-12-4 10:04 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
我也测试了, XMPP协议的IM, socket录制, 录制到了, 但是很多乱码,不懂. 我贴上来, 各位指导一下, 谢谢
Action()
{
lrs_create_socket("socket0", "TCP", "LocalHost=0", "RemoteHost=192.168.1.254:5222", LrsLastArg);
lrs_send("socket0", "buf0", LrsLastArg);
lrs_receive("socket0", "buf1", LrsLastArg);
lrs_send("socket0", "buf2", LrsLastArg);
lrs_receive("socket0", "buf3", LrsLastArg);
lr_think_time(10);
lrs_send("socket0", "buf4", LrsLastArg);
lrs_receive("socket0", "buf5", LrsLastArg);
lrs_send("socket0", "buf6", LrsLastArg);
lrs_receive("socket0", "buf7", LrsLastArg);
lrs_send("socket0", "buf8", LrsLastArg);
lrs_receive("socket0", "buf9", LrsLastArg);
lrs_send("socket0", "buf10", LrsLastArg);
lrs_receive("socket0", "buf11", LrsLastArg);
lrs_send("socket0", "buf12", LrsLastArg);
lrs_receive("socket0", "buf13", LrsLastArg);
lrs_send("socket0", "buf14", LrsLastArg);
lrs_receive("socket0", "buf15", LrsLastArg);
lrs_send("socket0", "buf16", LrsLastArg);
lrs_receive("socket0", "buf17", LrsLastArg);
lrs_send("socket0", "buf18", LrsLastArg);
lrs_receive("socket0", "buf19", LrsLastArg);
lrs_send("socket0", "buf20", LrsLastArg);
lrs_receive("socket0", "buf21", LrsLastArg);
lrs_send("socket0", "buf22", LrsLastArg);
lrs_receive("socket0", "buf23", LrsLastArg);
lrs_send("socket0", "buf24", LrsLastArg);
lrs_receive("socket0", "buf25", LrsLastArg);
lrs_send("socket0", "buf26", LrsLastArg);
lrs_receive("socket0", "buf27", LrsLastArg);
lrs_send("socket0", "buf28", LrsLastArg);
lrs_receive("socket0", "buf29", LrsLastArg);
lrs_send("socket0", "buf30", LrsLastArg);
lrs_receive("socket0", "buf31", LrsLastArg);
lrs_send("socket0", "buf32", LrsLastArg);
lrs_receive("socket0", "buf33", LrsLastArg);
lrs_send("socket0", "buf34", LrsLastArg);
lrs_receive("socket0", "buf35", LrsLastArg);
lrs_send("socket0", "buf36", LrsLastArg);
lrs_receive("socket0", "buf37", LrsLastArg);
lrs_send("socket0", "buf38", LrsLastArg);
lrs_receive("socket0", "buf39", LrsLastArg);
lrs_send("socket0", "buf40", LrsLastArg);
lrs_receive("socket0", "buf41", LrsLastArg);
lrs_send("socket0", "buf42", LrsLastArg);
lrs_receive("socket0", "buf43", LrsLastArg);
lrs_send("socket0", "buf44", LrsLastArg);
lrs_receive("socket0", "buf45", LrsLastArg);
lrs_send("socket0", "buf46", LrsLastArg);
lrs_receive("socket0", "buf47", LrsLastArg);
lrs_send("socket0", "buf48", LrsLastArg);
lrs_receive("socket0", "buf49", LrsLastArg);
lrs_send("socket0", "buf50", LrsLastArg);
lrs_receive("socket0", "buf51", LrsLastArg);
lrs_send("socket0", "buf52", LrsLastArg);
lrs_receive("socket0", "buf53", LrsLastArg);
lrs_send("socket0", "buf54", LrsLastArg);
lrs_receive("socket0", "buf55", LrsLastArg);
lr_think_time(7);
lrs_send("socket0", "buf56", LrsLastArg);
lrs_receive("socket0", "buf57", LrsLastArg);
lr_think_time(4);
lrs_send("socket0", "buf58", LrsLastArg);
lrs_receive("socket0", "buf59", LrsLastArg);
lr_think_time(35);
lrs_send("socket0", "buf60", LrsLastArg);
return 0;
}
---------------------------- |
|