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

new session hook #47

Closed
laolaozhang opened this issue Jun 9, 2018 · 1 comment
Closed

new session hook #47

laolaozhang opened this issue Jun 9, 2018 · 1 comment

Comments

@laolaozhang
Copy link

func (self *tcpAcceptor) onNewSession(conn net.Conn) {

这里加个hook。比如一个新的连接连上来,我需要在2秒内做一个首包验证。

@davyxu
Copy link
Owner

davyxu commented Jun 9, 2018

接收cellnet.SessionAccepted消息

@davyxu davyxu closed this as completed Jun 12, 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