|
为什么correlation 参数值每次运行都没有变呢?用omnipeek监控发现存在返回值而且是有变化的;还有lrs_get_received_buffer("socket1",0, -1, NULL); 为什么返回空值?
代码 :
lrs_receive("socket1", "buf11", LrsLastArg);
lrs_save_searched_string ("socke1", "buf11", "correlation", "LB/BIN=07", "RB/BIN=无记录",1,0, -1);
lr_message("login success: %s", "<correlation>");
buf=lrs_get_received_buffer("socket1",0, -1, NULL);
lr_message("buf11 is %s",buf);
日志 :
Action.c(50): lrs_receive(socket1, buf11)
Action.c(52): lrs_save_searched_string(socke1, buf11, correlation, LB/BIN=07, RB/BIN=无记录, 1, 0, -1)
Action.c(52): Notify: Saving Parameter "correlation = XYBJYB150015002007092914:03:590001"
login success: <correlation>
Action.c(56): lrs_get_received_buffer(socket1, buf_p, size_p)
buf11 is
Ending action Action. |
|