-
Notifications
You must be signed in to change notification settings - Fork 204
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
为什么sock.send方法没写到原型里面,如果有5000个连接,那就创建了5000个send方法? #1
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
//定义发送消息方法,接收json数据对象,方法中会完成编码
//在这里会为每个sock创建一个send方法,为什么不写到原型里面
The text was updated successfully, but these errors were encountered: