|
socket0中的关联在socket1中怎么引用?
在socket0里对session做了个关联,在socket1中怎么使用呢?老是提示我save param parameter is invalid. Error code : 9005,各位请再帮帮忙吧,谢谢了
脚本如下:
action:
lrs_receive("socket0", "buf4", LrsLastArg);
lrs_save_param("socket0", LRS_LAST_RECEIVED, "session", 53, 32);
lrs_create_socket("socket1", "TCP", "RemoteHost=xx:6020", LrsLastArg);
lrs_send("socket1", "buf5", LrsLastArg);
data.ws:
socket0:
send buf3 119
"<auth login='3' algorithm='RSA' encryptedpassword='68851a3ffbbd5e706e6b13e"
"258bfec20c61a296842c7c8cfaffda71d58f81521' />"
recv buf4 141
"<success></success><redirect udpPort='6021' session='ff31b2f010cd76091b4d9"
"c002e606406' ip='192.168.0.101' tcpPort='6020'></redirect></stream>"
socket1:
send buf5 28
"<stream session='<session>'>" |
|