|
写了个测试脚本,分别往service的tcp和udp端口发送加密的数据,
发送tcp包用的是lrs_length_send,没有问题,但这个函数不能用于udp,
所以只能用lrs_send,但运行时输出如下错误,以前发送不加密的数据是没问题的,
请诸位高手和版主帮帮忙,先谢谢啦。
Action.c(342): lrs_set_send_buffer(socket2, buf, 652)
Action.c(342): callSetSendBuffer: setting next send buffer (socket: socket2)
Action.c(352): lrs_send(socket2, buf0)
Action.c(352): callSend: socket: socket2 (308), buffer: buf0
Action.c(352): callSend: Thu Sep 07 14:48:42.781: Overriding send buffer buf0
Action.c(352): callSend: Thu Sep 07 14:48:42.781: calling parameterization routines
Action.c(352): callSend: Thu Sep 07 14:48:42.781: translate buffer to binary
Action.c(352): Error : Unable to translate buffer to socket2. Error code : 9013. |
|