Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent场景中,connID赋值返回应该在HP_Set_FN_Agent_OnConnect事件之前 #36

Closed
weixiao5 opened this issue Jan 11, 2018 · 1 comment

Comments

@weixiao5
Copy link

Agent场景中,connID赋值返回应该在Sockect_On_Agent_Accept事件之前

在HP_Agent_Connect连接方法中,传参数后,ConnID 连接ID 参数回调返回比 HP_Set_FN_Agent_OnConnect 连接回调函数慢,导致 agent发起连接的ConnId无效 无法再OnConnect方法中给与状态改变

建议:先在Hp_Agent_Connect 中先返回ConnId 然后在执行OnConnect事件回调

@weixiao5 weixiao5 changed the title Agent场景中,connID赋值返回应该在Sockect_On_Agent_Accept事件之前 Agent场景中,connID赋值返回应该在HP_Set_FN_Agent_OnConnect事件之前 Jan 11, 2018
@ldcsaa
Copy link
Owner

ldcsaa commented Jan 17, 2018

嗯,下个版本改改。

@ldcsaa ldcsaa closed this as completed Jan 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants